PHP 手冊
上一頁 |  | 下一頁

# mb_strlen

(PHP 4 >= 4.0.6, PHP 5)

mb_strlen -- Get string length

## Description

string mb_strlen ( string str [, string encoding])

mb_strlen() returns number of characters in string str having character encoding encoding. A multi-byte character is counted as 1.

encoding is character encoding for str. If encoding is omitted, internal character encoding is used.

See also mb_internal_encoding(), strlen().

上一頁 | 最開頭 | 下一頁
mb_strimwidth | 上一層 | mb_strpos