kotlin.text.lastIndexOfAny

lastIndexOfAny

fun CharSequence.lastIndexOfAny(
    chars: CharArray, 
    startIndex: Int = lastIndex, 
    ignoreCase: Boolean = false
): Int

Finds the index of the last occurrence of any of the specified chars in this char sequence, starting from the specified startIndex登录查看完整内容