LOWER Convert strings to lower case

Section: String Functions

Usage

The lower function converts a string to lower case with the syntax
   y = lower(x)

where x is a string, in which case all of the upper case characters in x (defined as the range 'A'-'Z') are converted to lower case. Alternately, you can call lower with a cell array of strings

   y = lower(c)

in which case each string in the cell array is converted to lower case.

Example

A simple example:
--> lower('this Is Strange CAPitalizaTion')
ans = 
  <string>  - size: [1 30]
 this is strange capitalization

and a more complex example with a cell array of strings

--> lower({'This','Is','Strange','CAPitalizaTion'})
ans = 
  <cell array> - size: [1 4]
 
Columns 1 to 3
 this    is    strange    
 
Columns 4 to 4
 capitalization