Upper

Converts all lowercase characters within a string to uppercase.

Syntax

Upper(s [, k ])

Parameters

Parameter

Description

s

The string to convert.

See Locales.

k (Optional)

A string representing a valid locale. If you do not include a value for k, the ambient locale is used.

This function only converts the Unicode characters U+61 through U+7A (of the ASCII character set) as well as the characters U+FF41 through U+FF5A (of the fullwidth character set).

Examples

The following expressions are examples that use the Upper function:

Expression

Returns

Upper("abc")

ABC

Upper("21 Main St.")

21 MAIN ST.

Upper(15)

15

Upper(Address[0])

This example converts the first occurrence of Address to all uppercase letters.

// Ethnio survey code removed