EasyManua.ls Logo

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

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
mbsubstring() 29
mbord()
Availability
Flash Lite 1.0.
Usage
mbord(character)
Operands
character The character to convert to a multibyte number.
Description
String function; converts the specified character to a multibyte number.
Example
The following examples convert the characters in the myString variable to
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)

Table of Contents

Related product manuals