String.toUpperCase()
Top  Previous  Next


SWiSH Player Support
SWF5 or later - Supported Internally

Syntax
myString.toUpperCase()

Arguments
none

Returns
The specified string in all upper-case.

Description
Method: Returns the specified string with all lower-case characters converted into upper-case characters.

Sample
onLoad () {
    str = "Hello World, how are YOU doing?";
    str = str.toLowerCase();
    trace(str);  // returns "HELLO WORLD, HOW ARE YOU DOING?"
}