#include<string>
#include <cctype>
#include <algorithm>
string myStr = "12a4bf3";
string myStr = "12A4BF3";
string 转小写
transform(myStr.begin(),myStr.end(),myStr.begin(), towlower);
transform(myStr.begin(),myStr.end(),myStr.begin(), towupper);