#pragma once #include class CustomStringUtilities { private: static const char* typeOfWhitespaces; static const char* typeOfWhitespacesReturn; public: //remove whitespaces from the passed string static void removeAllWhitespaces(std::string& str, bool trimReturn = true); static void trim(std::string&); };