getChar

fun Position.getChar(text: String): Char?

Return

the character at the specified position, or null if the position is out of bounds

Parameters

text

the text content to search in