"length" (string::lenght)
Returns the number of Unicode characters.
Synopsis
int string.length();
Parameters
| Parameter | Description |
|---|---|
| - | - |
Description
Returns the number of Unicode characters (not bytes!) of the string (like uniStrLen())
Example
main()
{
string asciiText = "panel";
string unicodeText = "äöü";
DebugN(asciiText.length());
DebugN(unicodeText.length());
}
Console output:
WCCOAui1:[5]
WCCOAui1:[3]
Assignment
String
