Creating Lowercase Variants of Strings

Learn about the different variants of lowercase and understand their work with the help of an example.

Basic structure of the lower function

The lower helper method takes a given value and returns a lowercased variant. The lower method will use the UTF-8 character encoding when converting the value to its lowercased equivalent.

Get hands-on with 1200+ tech skills courses.