Upper Case

Converts a string into entirely upper case letters.

Syntax

string = Upper Case (string)

Description

This command converts the string passed into a string consisting of just upper case letters.

e.g. The value "Hello" would become the string "HELLO".

This command is useful for comparing strings without case.

if "Hello"="hello"
...
end if

The body of this if construct is not executed because the two 'hello' strings are not equal.

if Upper Case("Hello")=Upper Case("hello")
...
end if

The body of this if construct is executed because the case is removed from both strings.


Table of contents