Skip to content

UCase - Built-in String Function

Purpose

UCase returns a string with all characters converted to uppercase.

Syntax

UCase(str)

Arguments

Argument Required Description
str Yes Any valid string expression which will be converted to uppercase

Returns

String

Example

Let sTest = "Hello World"
Return UCase(sTest) // returns "HELLO WORLD"

See Also

Notes

  • When str cannot be converted to a string, a runtime error is generated.