upper

convert given string to uppercase


Parameters

upper string :char :string :literal

Returns

  • :char
  • :string
  • or  :nothing

Examples

copy
print upper "hello World, 你好!" ; "HELLO WORLD, 你好!"

copy
str: "hello World, 你好!" upper 'str ; str: "HELLO WORLD, 你好!"

copy
ch: `a` upper ch ; => `A`

Related