Skip to content

upper

Convert string to uppercase.

t = upper(str)

Returns str with all lowercase characters converted to uppercase. Other characters are unchanged. Applied elementwise to character arrays.

upper('Hello World') % 'HELLO WORLD'
  • lower — Convert string to lowercase.
  • reverse — Reverse the order of characters in a string.