toupper

Upper case conversion.

Syntax

  • res = toupper(str)

Input argument

  • str - a row character array, a cell of strings or an string array.

Output argument

  • res - a string upper case

Description

toupper converts a string to upper case.

Examples

toupper('NelSon')
upper(["NelSon", "is", "open"])

See also

tolower.

History

Author

Allan CORNET

Last updated