Mbord(); Mbsubstring() - MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

mbord()

Availability
Flash Lite 1.0.
Usage
mbord(character)
Operands
The character to convert to a multibyte number.
character
Description
String function; converts the specified character to a multibyte number.
Example
The following examples convert the characters in the
multibyte numbers:
myString = "A";
trace ("ord = " add mbord(myString));// Output: 65
myString = "$120";
for (i=1; i<=length(myString); i++)
char = substring(myString, i, 1);
trace ("char ord = " add mbord(char));// Output: 36, 49, 50, 48
}
See also
,
mbchr()

mbsubstring()

mbsubstring()
Availability
Flash Lite 1.0.
Usage
mbsubstring(value, index, count)
variable to
myString
mbsubstring()
29

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Table of Contents