Contents Previous Next Subchapters

Converting Upper Case to Lower Case
Syntax up2low(x)
See Also lower , low2up , ntoa , atod , atoi , strreplace , char

Returns a copy of x in which the uppercase letters are converted to lowercase, where x is a character matrix.

     x = "aBcDeFg"
The up2low and low2up functions can also enable more general string comparisons than provided by the built in operators. If you enter,
     x = "aBcde"
     y = "ab12"
     up2low(x.col(1,2)) == up2low(y.col(1,2)) 
O-Matrix responds

In Mlmode , this function is called lower instead of up2low. If in Mlmode you enter
     x = 'aBcDeFg';
O-Matrix will respond