upper - Convert string to uppercase

Syntax

t = upper('str')
B = upper(A)

Description

t = upper('str') converts any lowercase characters in the string str to the corresponding uppercase characters and leaves all other characters unchanged.

B = upper(A) when A is a cell array of strings, returns a cell array the same size as A containing the result of applying upper to each string within A.

Examples

upper('attention!') is ATTENTION!.

Remarks

Character sets supported:

See Also

lower

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS