tgbot-cpp
StringTools.h File Reference
#include <vector>
#include <string>
#include <sstream>

Go to the source code of this file.

Namespaces

 StringTools
 

Functions

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