How to Trim a std::string in C++ Safely | CodeTrail