Capitalizes each word in a specified string.
text_to_capitalize- The text which will be returned with the first letter of each word in uppercase and all other letters in lowercase.
PROPERis useful for proper nouns, such as names of people or geographic locations.
PROPERcapitalizes each word in
text_to_capitalizerather than the beginning of each sentence, and is therefore likely not the correct tool to use for paragraphs or other blocks of text.
PROPERwill convert all characters not at the beginning of words to lowercase, which may cause problems with certain strings. For example, using
PROPER("mcLeod")to capitalize the surname McLeod results in "Mcleod" instead.
UPPER: Converts a specified string to uppercase.
SUBSTITUTE: Replaces existing text with new text in a string.
LOWER: Converts a specified string to lowercase.