GLib.utf8_find_next_char
function utf8_find_next_char(p: String, end: String): String { // Gjs wrapper for g_utf8_find_next_char() }
Finds the start of the next UTF-8 character in the string after p.
p does not have to be at the beginning of a UTF-8 character. No check is made to see if the character found is actually valid other than it starts with an appropriate byte.
- 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
- Returns
a pointer to the found character or null