- ⌂ Text
- Directives
#STRLEN
Return the number of characters in a string, which may contain multi-byte UTF8 characters.
Prototype
#STRLEN($string)
Parameters
- string - The input string.
Return
Returns the number of bytes used by string.
Example
#/ Chars: 18, Bytes: 18
#LOCAL($Text, "This is some text.")
Chars: #STRLEN($Text)
Bytes: #BYTES_LENGTH($Text)
#/ Chars: 11, Bytes: 21
#ASSIGN($Text, "Мощный курс")
Chars: #STRLEN($Text)
Bytes: #BYTES_LENGTH($Text)