Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Global Functions > mbsubstring() | |||
Flash Lite 1.0.
mbsubstring(value, index, count)
value The multibyte string from which to extract a new multibyte string.
index The number of the first character to extract.
count The number of characters to include in the extracted string, not including the index character.
String function; extracts a new multibyte character string from a multibyte character string.
The following example extracts a new multibyte character string from the string contained in the myString variable:
myString = mbchr(36) add mbchr(49) add mbchr(50) add mbchr(48); trace (mbsubstring(myString, 0, 2)); // Output: $1
|
|
|
|