Reference for Wiring version 0027+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Class

String

Name

toLowerCase()

Examples
void setup() { 
  Serial.begin(9600); 
  String str1 = String("CCCP"); 
  String str2 = str1.toLowerCase();

  Serial.println(str2);  // prints cccp
}

void loop() { 
  // Nothing for loop()
}
Description Converts all of the characters in the string to lowercase. For example, "ABC" will convert to "abc".
Syntax
toLowerCase()
Returns none
Usage Application
Updated on September 16, 2010 11:34:21pm PDT

Creative Commons License