This can be done easier with tolower().