kotlin-stdlib / kotlin.text / codePointBefore codePointBefore JVM 1.0 fun String . codePointBefore ( index : Int ) : Int (source) Returns the character (Unicode code point) before the specified index.