The goal of this code-golf is to create a code that lets the user input an ASCII string (contains only printable ASCII characters), and your program outputs the lower-case variant of this string.
Important: you are NOT allowed to use a built-in function that converts the string (or just one character) to lowercase (such as ToLower()
in .NET, strtolower()
in PHP
, ...)! You're allowed to use all other built-in functions, however.
Another important note: The input string doesn't contain only uppercase characters. The input string is a mix of uppercase characters, lowercase characters, numbers and other ASCII printable characters.
Good luck!
s/./\L\0/g
. \$\endgroup\$\L
is built in? \$\endgroup\$