#ifndef NALOGA0302_TEXTUTILITY_H #define NALOGA0302_TEXTUTILITY_H #include class TextUtility { private: TextUtility() = default; public: static std::string capitalize(const std::string &str); static std::string toUpperCase(const std::string &str); static bool isNumeric(const std::string &str); static int contains(const std::string &str, const std::string &substr); static std::string addSpaces(const std::string &str); static std::string removeDuplicatedSpaces(const std::string &str); }; #endif //NALOGA0302_TEXTUTILITY_H