Implementing Upper and Lowercase Functions

Learn about the implementation of the upper and lowercase functions.

Implementation of case functions

As stated earlier, one of the benefits of UTF-8 is that it preserves the ASCII values and their relative positions. We can explore working more closely with strings by reimplementing the upper- and lowercase functions. We will only focus on the ASCII character range to keep things simple.

It is important to note that UTF-8 includes only the first 128 ASCII characters (0–127) and does not contain the extended ASCII character set.

Get hands-on with 1200+ tech skills courses.