PROPER() converts text to proper case, where the first letter of each word is capitalized and all other letters are lowercase. This function is useful for formatting names, titles, and other text that should follow proper capitalization rules.
PROPER(string)
PROPER() returns a character string
PROPER("apples") = "Apples" (single word)
PROPER("apples and oranges") = "Apples And Oranges" (multiple words)
PROPER("JOHN DOE") = "John Doe" (all caps)
PROPER("mary-jane") = "Mary-Jane" (with hyphen)
PROPER("o'brien") = "O'Brien" (with apostrophe)
PROPER("") = "" (empty string)
PROPER(NULL) = NULL (NULL handling)