Skip to content

SUPCASE

Vera Chellgren edited this page Sep 18, 2021 · 1 revision

SUPCASE stands for Start Upcase, and it converts the first letter of each item in a list to uppercase. This is helpful if for example you are using lowercase word lists from someone else and you want the words to start with an uppercase letter (e.g. names of people or cities).

Syntax

SUPCASE newlistnames = listorstring

where newlistnames is one or more list names which will contain the case-converted words; the typical use case is just one new list name. If multiple names are used, the results will be identical for each new list.

listorstring is the name of a list, or a string literal surrounded by quotes.

Examples

SUPCASE firstnames = lowercasenames

SUPCASE citynames = citylowercasenames

Related commands

UPCASE, LOWCASE, SLOWCASE, WORDJOIN, ASSIGNLIST

Clone this wiki locally