Contents | Index | < Browse | Browse >
UPPER(<string>)
      returns a string

The result is <string> translated to all uppercase characters.

   Example:
         say upper('Waldorf')       >>> WALDORF

   Also see 

   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A <string> can be translated to lowercase with the following function:

   TRANSLATE(<string>, xrange('a', 'z'), xrange('A','Z'))

The function  BITOR(<string>)  will also translate the alphabetic
characters in <string> to lowercase characters, but it will shift the
ASCII characters between 91 and 95 { [  ] ^ _} to characters 123 through
127.

Next: String functions | Prev: XRANGE() | Contents: String functions