Basically I have string of whitespace \" \" or blocks of whitespace or \"\" empty in some of the lines of the files and I would
\" \"
\"\"
std::string str = ...; if (str.empty() || str == " ") { // It's empty or a single space. }