Skip to content

UCase

Returns a string converted to uppercase.


UCase

Converts all lowercase letters in a string to uppercase.

Syntax

UCase(string)

Parameters

Parameter Type Description
string String The string to convert.

Return Value

String — a copy of string with all characters converted to uppercase.

Example

Dim result As String
result = UCase("Hello World")
Print result   ' Output: HELLO WORLD