String class
toUpperCase()
Get an upper-case version of a String. toUpperCase()
modifies the string in place.
// SYNTAX
string.toUpperCase()
// PROTOTYPE
String& toUpperCase(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.