UCase Function

Description

Returns a string that has been converted to uppercase.

Syntax

UCase(string)

The string argument is any valid string expression. If string contains Null, Null is returned.

Remarks

Only lowercase letters are converted to uppercase; all uppercase letters and nonletter characters remain unchanged.

See Also

LCase Function.

Example

This example uses the UCase function to return an uppercase version of a string.


LowerCase = "Hello World 1234"            ' String to convert.= UCase(LowerCase)                ' Returns "HELLO WORLD 1234".