ActionScript 2.0 语言参考 |
|
|
|
| ActionScript 语言元素 > 全局函数 > mblength 函数 | |||
mblength(string:String) : Number
自 Flash Player 5 后"不推荐使用"。不推荐使用此函数,而推荐使用 String 类的方法和属性。
返回多字节字符串的长度。
可用性:ActionScript 1.0、Flash Player 4
string:String ― 要度量的字符串。
Number ― 多字节字符串的长度。
String, length(String.length 属性)
|
|
|
|