JString::strlen
UTF-8 aware alternative to strlen.
Returns the number of characters in the string (NOT THE NUMBER OF BYTES),
Signature
public function strlen(string
$strĀ )
Parameters
-
$str
- UTF-8 string.
Returns
- integer
- Number of UTF-8 characters in string.