ICU 73.2  73.2
Functions
String Length

Functions

U_CAPI int32_t u_strlen (const UChar *s)
 Determine the length of an array of UChar.

Function Documentation

U_CAPI int32_t u_strlen ( const UChar s)

Determine the length of an array of UChar.

Parameters:
sPointer to sequence of UChars.
Returns:
Length of sequence.
Parameters:
sThe array of UChars, NULL (U+0000) terminated.
Returns:
The number of UChars in chars, minus the terminator.
Stable:
ICU 2.0

Referenced by icu::UnicodeString::endsWith(), and icu::UnicodeString::startsWith().