-
Notifications
You must be signed in to change notification settings - Fork 0
String_length_utf8
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Gets the number of characters in the given string and returns the count. This function is designed for UTF-8 encoded strings.
| Parameter | Data Type | Description |
|---|---|---|
| str | string or const char* | the string to get the length of |
size_t: Returns the number of characters in the string.
// demonstrates getting the size of a UTF-8 encoded string
var sz = string_length_utf8(str);
NOTOC
Category:Function:String
This is number 1