Whats the most efficient way of removing a \'newline\' from a std::string?
s.erase(std::remove(s.begin(), s.end(), '\n'), s.end());