Unicode.utf8_Strlen

Computes the length of the string in characters, not including the terminating nul character. If the max'th byte falls in the middle of a character, the last (partial) character is not counted.

class Unicode
static
utf8_Strlen
(
string p
)

Parameters

p string

pointer to the start of a UTF-8 encoded string

Return Value

Type: glong

the length of the string in characters

Meta