Return the Unicode code-point count in string.
Declared in <bdlde_utf8util.h>
Return the Unicode code-point count in string.
static
Utf8Util::IntPtr
numCodePointsRaw(std::string_view const& string);
» more...
Return the Unicode code-point count in string.
static
IntPtr
numCodePointsRaw(char const* string);
» more...
Return the Unicode code-point count in string.
static
IntPtr
numCodePointsRaw(
char const* string,
size_type length);
» more...
number of Unicode code points in string
| Name | Description |
|---|---|
| string | valid UTF-8 string view to examine |
| length | length of string in bytes |