replicode
Functions
string_utils Namespace Reference

Functions

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

Function Documentation

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

Here is the call graph for this function:

void string_utils::TrimLeft ( std::string &  str,
const char *  chars2remove 
)

Here is the caller graph for this function:

void string_utils::TrimRight ( std::string &  str,
const char *  chars2remove 
)

Here is the caller graph for this function: