C++ how to convert to lowercase code example Example: convert characters to lowercase c++ str[i] = tolower(str[i]);