《Flash Lite 2.x ActionScript 语言参考》 |
|
|
|
| ActionScript 语言元素 > 全局函数 > mbsubstring 函数 | |||
mbsubstring(value, index, count) : String
自 Flash Player 5 后不推荐使用。不推荐使用此函数,而推荐使用 String.substr() 方法。
从多字节字符串中提取一个新的多字节字符串。
value:String ― 要从其中提取一个新的多字节字符串的多字节字符串。
index:Number ― 要提取的第一个字符的编号。
count:Number ― 要在已提取的字符串中包括的字符数,不包括索引字符。
String ― 从多字节字符串中提取的字符串。
substr(String.substr 方法)
|
|
|
|