UPCASE()

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.

 

On an ECS mode system, the  uppercase equivalent of each character is defined by the currently selected character map. On other systems, the standard letter pairings of the ASCII character set are used.

 

 

Example

 

NAME = "Thomas Smith"

PRINT UPCASE(NAME)

 

This program fragment prints the string "THOMAS SMITH".

 

 

See also:

DOWNCASE()