LOWERCASE

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.

Declaration

LOWERCASE(base_string) -> lower_case_string

Parameters

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.

Return Values

lower_case_string (type: string)

The string created by changing all uppercase characters in the base string to their lowercase equivalents.

Examples

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!"

Last updated