codePointBefore

JVM
1.0
fun String.codePointBefore(index: Int): Int

Returns the character (Unicode code point) before the specified index.