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