VBS tutorial: Functions – ucase functions

Time:2021-11-16

Ucase function

Returns the uppercase form of a string.

UCase(string)

stringArgument is any valid string expression. IfstringIf the parameter contains null, theNull

explain

Only lowercase letters are converted to uppercase letters; All uppercase and non alphabetic characters remain unchanged.

The following example usesUCaseFunction returns the uppercase form of a string:

Dim mywordmyword = ucase ("Hello world") 'returns "Hello world".