Method

Uppercase

Warning

This item was deprecated in version 2019r2. Please use String.Uppercase as a replacement.


Description

Converts all characters in a string to Uppercase characters.

Usage

result = sourceVariable.Uppercase

Part

Type

Description

result

String

A copy of the original string with all characters converted to their uppercase equivalent.

sourceVariable

String

The original string.

Notes

Returns the string with all alphabetic characters in Uppercase.

Sample code

The example below converts the value passed to Uppercase.

Var result As String
Var source As String = "tHe Quick fOX"
result = source.Uppercase ' returns "THE QUICK FOX"

source = "the 5 lazy dogs"
result = source.Uppercase ' returns "THE 5 LAZY DOGS"

Compatibility

All project types on all supported operating systems.

See also

Lowercase, Titlecase functions.