Flash Lite 2.x and 3.0 ActionScript Language Reference

mbsubstring function

mbsubstring(value, index, count) : String

Deprecated since Flash Player 5. This function was deprecated in favor of String.substr() method.

Extracts a new multibyte character string from a multibyte character string.

Parameters

value:String - The multibyte string from which to extract a new multibyte string.

index:Number - The number of the first character to extract.

count:Number - The number of characters to include in the extracted string, not including the index character.

Returns

String - The string extracted from the multibyte character string.

See also

substr (String.substr method)