mixedupperword(
TEXT
)
The mixedupperword( function converts lower case words to Initial Caps, but leaves mixed case words alone.
Parameters
This function has one parameter:
text – text to be capitalized.
Description
This function converts lower case words to Initial Caps, but leaves mixed case and all uppercase words alone.
mixedupperword("john smith") ☞ John Smith
mixedupperword("mary McCord") ☞ Mary McCord
mixedupperword("tom stephen O'Reilly") ☞ Tom Stephen O'Reilly
mixedupperword("net 30") ☞ Net 30
mixedupperword("NEW york") ☞ NEW York
See Also
- lower( -- converts text to lower case.
- straightquotes( -- converts any "smart quotes" in the text into straight quotes.
- stripaccents( -- removes accents from any characters in the text.
- switchmatch( -- chooses from a list of values based on a wildcard match.
- switchmatchexact( -- chooses from a list of values based on a wildcard match.
- titlecase( -- capitalizes first character of each word, but not articles, prepositions, and conjunctions under 5 characters (unless they are the first or last word in the text).
- upper( -- converts text to UPPER CASE (all caps).
- upperword( -- converts text to Initial Caps.
History
| 10.0 | New | New in this version. |