utf8FindNextChar

fun utf8FindNextChar(p: String, end: String? = null): String?

Finds the start of the next UTF-8 character in the string after @p.

Return

a pointer to the found character or null if @end is set and is reached

Parameters

p

a pointer to a position within a UTF-8 encoded string

end

a pointer to the byte following the end of the string, or null to indicate that the string is nul-terminated