replicode
Namespaces | Functions
string_utils.cpp File Reference
#include <algorithm>
#include <cctype>
#include "string_utils.h"
Include dependency graph for string_utils.cpp:

Namespaces

 string_utils
 

Functions

int string_utils::StartsWith (const std::string &s, const std::string &str)
 
int string_utils::EndsWith (const std::string &s, const std::string &str)
 
void string_utils::MakeUpper (std::string &str)
 
void string_utils::MakeLower (std::string &str)
 
void string_utils::Trim (std::string &str, const char *chars2remove)
 
void string_utils::TrimLeft (std::string &str, const char *chars2remove)
 
void string_utils::TrimRight (std::string &str, const char *chars2remove)
 
void string_utils::ReplaceLeading (std::string &str, const char *chars2replace, char c)
 
std::string string_utils::Int2String (int i)