Function mb_strlen
Get string length.
Package: Cake
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Located at Cake/bootstrap.php
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Located at Cake/bootstrap.php
mb_strlen( string $string , string $encoding = null )
Parameters summary
string |
$string |
The string being checked for length. |
string |
$encoding = null |
Character encoding name to use. If it is omitted, internal character encoding is used. |
Returns
-
integer
The number of characters in string $string having character encoding encoding. A multi-byte character is counted as 1.