Documentation / dataflow / com.femastudios.dataflow.extensions / codePointBefore
Go to reference

codePointBefore

fun Field<String>.codePointBefore(index: Field<Int>): Field<Int>
fun Field<String>.codePointBefore(index: Int): Field<Int>

Same as codePointBefore, but accepts Field and returns a new Field.

Calling this function is equivalent to use transform and calling codePointBefore in the transformation function.

This is simply a convenience function.

See Also

kotlin.text.codePointBefore