|
static bool | isEmpty (const std::string &str) |
| Test si la chaine de caracteres cible est NULL ou vide "". More...
|
|
static bool | equals (const std::string &str, const std::string &str2) |
| Applique une comparaison entre la chaine 1 et 2 en tenant compte de la casse. More...
|
|
static bool | equalsIgnoreCase (const std::string &chaine, const std::string &chaine2, const bool &toUpperCase=true) |
| Applique une comparaison entre la chaine 1 et 2 sans tenir compte de la casse. More...
|
|
static bool | contains (const std::string &str, const std::string &searchString) |
|
static bool | containsIgnoreCase (std::string *chaine, std::string *searchString, bool toUpperCase) |
|
static void | replaceAll (std::string &str, const std::string &searchString, const std::string &replaceString) |
|
static void | replaceAllIgnoreCase (std::string *chaine, std::string *searchString, std::string *replaceString, bool toUpperCase) |
|
static void | trim (std::string &str, const std::string &whitespace=" \t") |
|
static void | trimAll (std::string &str, const std::string &whitespace=" \t") |
|
static unsigned int | count (std::string str, const std::string &searchString) |
|
static std::vector< std::string > | split (const std::string &chaine, char splitCharacter) |
|
static std::vector< std::string > | split (const std::string &chaine, const std::string &splitSymbols) |
|
static std::string | vectorToString (std::vector< std::string > *vector) |
| Transforme un vector de string en une chaine de caracteres. More...
|
|
static void | to_upperCase (std::string &chaine) |
|
static void | to_lowerCase (std::string *chaine) |
|
static std::pair< std::string, std::vector< char > > | fromStringToArrayOfChar (const std::string &string) |
|
static std::string | removeAfterLast (const std::string &chaine, const char lastCharacter) |
|
static size_t | findFirstJustAfter (const std::string &file, const std::string &pattern, const size_t startIndex=0) |
| Find first occurrence of the pattern in the string and return index position on the string where the last character is matching pattern. More...
|
|
static size_t | findFirst (const std::string &file, const std::string &pattern, const size_t startIndex=0) |
| Find first occurrence of the pattern in the string and return index position on the string where pattern is starting. More...
|
|
static std::string | formatDate (const time_t &time, const std::string &format) |
|
Manipulations et traitements sur les chaines de caracteres.