String Case Change Functions

Change the case of a string.

The String case change functions allow you to change the case of a String. They work just as their names imply.

toUpperCase()
changes the whole string to upper case characters, and
toLowerCase()
changes the whole String to lower case characters. Only the characters A to Z or a to z are affected.

Hardware Required

  • Arduino Board

Circuit

There is no circuit for this example, though your board must be connected to your computer via USB and the serial monitor window of the Arduino Software (IDE) should be open.

circuit

Code

Learn more

You can find more basic tutorials in the built-in examples section.

You can also explore the language reference, a detailed collection of the Arduino programming language.

Last revision 2015/08/11 by SM

Suggest changes

The content on docs.arduino.cc is facilitated through a public GitHub repository. If you see anything wrong, you can edit this page here.

License

The Arduino documentation is licensed under the Creative Commons Attribution-Share Alike 4.0 license.