Capitalises each word in a specified string.
text_to_be_capitalised– 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.
PROPERcapitalises each word in text_to_be_capitalised rather 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 capitalise 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.