The function LOWERCASE takes a string and converts all of the uppercase letters within it into lowercase letters.
This function takes a single string as input. It outputs another string: the given string with every uppercase letter converted into the lowercase version of the same letter.
LOWERCASE(base_string) -> lower_case_string
- base_string (required, type: string)
- Any string.
- LOWERCASE will accept any string as valid input, although in order for the output to differ from the input, the base string needs to contain at least one uppercase letter.
- lower_case_string (type: string)
- The string created by changing all uppercase characters in the base string to their lowercase equivalents.
The following example takes the string "This Is 1 STRING!" and converts all uppercase letters into their lowercase equivalents. Note that the numbers, punctuation, and already lowercase letters are all unaffected:
LOWERCASE("This Is 1 STRING!") -> "this is 1 string!"