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