UPCASE()

Top  Previous  Next

 

The UPCASE() function returns a string with all letters converted to upper case.

 

 

Format

 

UPCASE(string)

 

where

 

stringevaluates to the string in which substitution is to occur.

 

 

The UPCASE() function returns the value of string with all letters converted to upper case. If string is a variable rather than an expression, the value of the variable is not affected.

 

 

Example

 

NAME = "Thomas Smith"

PRINT UPCASE(NAME)

 

This program fragment prints the string "THOMAS SMITH".

 

 

See also:

DOWNCASE()