string to lower in cpp code example Example: tolower funciton in cpp transform(s.begin(), s.end(), s.begin(), ::tolower);