You can iterate through all the characters in the string and turn them into their lowercase counterpart via std::tolower() as shown in this discussion.
#include <algorithm>
#include <cctype>
#include <string>
std::string data = "Abc";
std::transform(data.begin(), data.end(), data.begin(), [](unsigned char c){ return std::tolower(c); });