VBS tutorial: Functions – ucase functions


Ucase function

Returns the uppercase form of a string.


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


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".