String Class

toLowerCase()

String::toLowerCase, toLowerCase, String.toLowerCase

Get a lower-case version of a String. toLowerCase() modifies the string in place.

// SYNTAX
string.toLowerCase()

// PROTOTYPE
String& toLowerCase(void);

Parameters:

  • string: a variable of type String

Returns: A reference to the String object (*this).

This function only works properly with 7-bit ASCII characters. It does not correctly work with other character sets such as ISO-8859-1 or Unicode UTF-8.