Loading
Prepare for Email to Become the Default Login ExperienceRead More
Ongoing maintenance for Salesforce HelpRead More
Extend Salesforce with Clicks, Not Code
UPPER

UPPER

Converts all letters in the specified text string to uppercase.

Any characters that are not letters are unaffected by this function. Locale rules are applied if a locale is provided.

Use

UPPER(text, [locale]) and replace text with the field or expression you wish to convert to uppercase, and locale with the optional two-character ISO language code or five-character locale code, if available.

MYCOMPANY.COM Example
MYCOMPANY.COM Example

UPPER("mycompany.com") returns “MYCOMPANY.COM.”

MYCOMPANY.COM 123 Example
MYCOMPANY.COM 123 Example

UPPER("Mycompany.com 123") returns “MYCOMPANY.COM 123.”

Turkish Language Locale Rules Example
Turkish Language Locale Rules Example

The Turkish language has two versions of the letter i: one dotted and one dotless. The locale rules for Turkish require the ability to capitalize the dotted i, and allow the dotless I to be lowercase. To correctly use the UPPER() function with the Turkish language locale, use the Turkish locale code tr in the UPPER() function as follows:

UPPER(text, "tr")

Using this locale code ensures that Salesforce doesn’t transform any dotted i in the text to a dotless I.

 
Loading
Salesforce Help | Article