length_chars
Returns the length of a string in characters.
Description
The length_chars
function returns the character length of the x
string.
Examples
Get the character length of a string
For ASCII strings, the character length is the same as the number of bytes:
For Unicode, this may not be the case: