Microsoft® Visual Basic® Scripting Edition UCase Function | Language Reference Version 1

See Also

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

> The following example uses the UCase function to return an uppercase version of a string:

> >     Dim MyWord
> >     MyWord = UCase("Hello World")    ' Returns "HELLO WORLD".

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.