UPPER$()

UPPER$(S)

RETURNS THE STRING CONVERTING STRING S TO UPPERCASE

  • Type: Function
  • Parameter: 1
  • Group: Strings

ACTION

The function UPPER$(S) returns the string converting string S to uppercase.

Remark: the keyword UPPER$ ends by '$' : it means that the returned value is a string.

SYNTAX: Result$=UPPER$(S)

  • S = string expression.
  • Result$ is a string.

USE

  • The function UPPER$() is used to convert a string to uppercase.

ERROR

  • If S is not a correct string expression.

EXAMPLE

print upper$("abc")

print "ABC"

SEE ALSO

INSERT$()

INSTR()

LEFT$()

LEN()

LOWER$()

LTRIM$()

MID$()

RIGHT$()

RTRIM$()

STR$()

STRING$()

TRIM$()