Function mb_strlen
Get string length.
Package: Cake\I18n
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Located at Cake/I18n/Multibyte.php
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Located at Cake/I18n/Multibyte.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.