Returns the length of the longest prefix of the input string found in the trie.
The radix trie to search in
The string to find a longest prefix for
The starting offset in the input string
The length of the longest prefix found, or 0 if no prefix exists
Returns the length of the longest prefix of the input string found in the trie.