string_length_utf8(str)

From ENIGMA

Jump to: navigation, search

Description

Gets the number of characters in the given string and returns the count. This function is designed for UTF-8 encoded strings.

Parameters

Parameter Data Type Description
str string or const char* the string to get the length of

Return Values

size_t: Returns the number of characters in the string.

Example Call

// demonstrates getting the size of a UTF-8 encoded string
var sz = string_length_utf8(str);
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox