String.tolowercase() - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

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
An example is also in the Strings.fla file in the HelpExamples folder. The following list gives
typical paths to this folder:
Windows: \Program Files\Macromedia\Flash MX 2004\Samples\HelpExamples\
Macintosh: HD/Applications/Macromedia Flash MX 2004/Samples/HelpExamples/
See Also
String.toUpperCase()
808
Chapter 2:
to convert all uppercase characters to lowercase characters:
toLowerCase()

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents