getPrefixMatch

fun getPrefixMatch(charArray: CharArray): Int
fun getPrefixMatch(charArray: CharArray, knownStart: Int): Int