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

codePointCount

fun Field<String>.codePointCount(beginIndex: Field<Int>, endIndex: Field<Int>): Field<Int>
fun Field<String>.codePointCount(beginIndex: Field<Int>, endIndex: Int): Field<Int>
fun Field<String>.codePointCount(beginIndex: Int, endIndex: Field<Int>): Field<Int>
fun Field<String>.codePointCount(beginIndex: Int, endIndex: Int): Field<Int>

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

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

This is simply a convenience function.

See Also

kotlin.text.codePointCount