MATLAB Function Reference    
upper

Convert string to upper case

Syntax

Description

t = upper('str') converts any lower-case characters in the string str to the corresponding upper-case 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


  unzip urlread