chsvlib
chsv helper source code

◆ ucpsLen()

std:: size_t Chusov::String::ucpsLen ( const ucp_t pszStr)
noexcept

Returns a size, in code points, of a zero terminated string of Unicode code points excluding the terminating zero. Implements the behaviour of the standard strlen function of the string.h header for the type ucp_t.

Parameters
[in]pszStris a zero terminated string of the returned length.
Returns
A length, in code points, of the string pointed by pszStr, excluding the terminating null.
See also
strLen;
wcsLen;
strnLen_s.