tgbot-cpp
Loading...
Searching...
No Matches
StringTools.h File Reference

Go to the source code of this file.

Namespaces

namespace  StringTools
 

Functions

TGBOT_API bool StringTools::startsWith (const std::string &str1, const std::string &str2)
 
TGBOT_API bool StringTools::endsWith (const std::string &str1, const std::string &str2)
 
TGBOT_API void StringTools::split (const std::string &str, char delimiter, std::vector< std::string > &dest)
 
TGBOT_API std::string StringTools::generateRandomString (std::size_t length)
 
TGBOT_API std::string StringTools::urlEncode (const std::string &value, const std::string &additionalLegitChars="")
 
TGBOT_API std::string StringTools::urlDecode (const std::string &value)
 
std::string StringTools::escapeJsonString (const std::string &value)
 
std::vector< std::string > StringTools::split (const std::string &str, char delimiter)