MATLAB Function Reference Previous page   Next Page
upper

Convert string to uppercase

Syntax

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


Previous page  unzip urlread Next page

© 1994-2005 The MathWorks, Inc.