mbsubstring 函数

mbsubstring(value, index, count) : String

自 Flash Player 5 后不推荐使用。不推荐使用此函数,而推荐使用 String.substr() 方法。

从多字节字符串中提取一个新的多字节字符串。

参数

value:String ― 要从其中提取一个新的多字节字符串的多字节字符串。

index:Number ― 要提取的第一个字符的编号。

count:Number ― 要在已提取的字符串中包括的字符数,不包括索引字符。

返回

String ― 从多字节字符串中提取的字符串。

请参阅

substr(String.substr 方法)