next up previous contents
Next: toUpperCase Up: Methods Previous: substring   Contents


toLowerCase

Description
Places the text in a String object in lowercase characters.


Syntax

  1. StringObj.toLowerCase()
  2. "String Literal".toLowerCase()


Parameters

None


Returns

This method returns a copy of the String object, with all of the uppercase characters converted to lowercase. The original value is unchanged. The toLowerCase method has no effect on nonalphabetic characters.


Example

s = "Hello World";
r = s.toLowerCase();
trace(r);
//output: hello world




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.