Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

VBScript UCase Function

Returns a string that has been converted to uppercase.

Syntax: VBScript UCase Function

UCase(string)

Arguments: VBScript UCase Function

string

Any valid string expression. If string contains Null, Null is returned.

Remarks: VBScript UCase Function

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

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.