numCharacters overloads
Synopses
Declared in <bdlde_utf8util.h>
Return the Unicode code‐point count in string.
static
Utf8Util::IntPtr
numCharacters(char const* string);
Return the Unicode code‐point count in a bounded string.
static
Utf8Util::IntPtr
numCharacters(
char const* string,
size_type length);
Return Value
number of Unicode code points in string
Parameters
Name |
Description |
string |
null‐terminated valid UTF‐8 input |
length |
length of |
Created with MrDocs