MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 419

Actionscript language reference
Table of Contents

Advertisement

String.toLowerCase()
Availability
Flash Player 5.
Usage
my_str.toLowerCase() : String
Parameters
None.
Returns
A string.
Description
Method; returns a copy of the String object, with all uppercase characters converted to lowercase.
The original value is unchanged.
Example
The following example creates a string with all uppercase characters and then creates a copy of
that string using
var upperCase:String = "LOREM IPSUM DOLOR";
var lowerCase:String = upperCase.toLowerCase();
trace("upperCase: " + upperCase); // output: upperCase: LOREM IPSUM DOLOR
trace("lowerCase: " + lowerCase); // output: lowerCase: lorem ipsum dolor
See Also
String.toUpperCase()
String.toUpperCase()
Availability
Flash Player 5.
Usage
my_str.toUpperCase() : String
Parameters
None.
Returns
A string.
Description
Method; returns a copy of the String object, with all lowercase characters converted to uppercase.
The original value is unchanged.
to convert all uppercase characters to lowercase characters:
toLowerCase()
String.toUpperCase()
419

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents