|
int | strcasecmp (const char *s1, const char *s2) |
|
int | strcasecmp (const std::string &s1, const char *s2) |
|
int | strcasecmp (const char *s1, const std::string &s2) |
|
int | strcasecmp (const std::string &s1, const std::string &s2) |
|
void | strncpynt (char *dest, const char *src, size_t maxlen) |
|
void | copy_fill (void *dest, const std::string &src, const size_t dest_size) |
|
bool | is_true (const std::string &str) |
|
template<typename STRING > |
bool | starts_with (const STRING &str, const std::string &prefix) |
|
template<typename STRING > |
bool | starts_with (const STRING &str, const char *prefix) |
|
template<typename STRING > |
bool | starts_with_delim (const STRING &str, const std::string &prefix, const char delim) |
|
template<typename STRING > |
bool | ends_with (const STRING &str, const std::string &suffix) |
|
template<typename STRING > |
bool | ends_with (const STRING &str, const char *suffix) |
|
template<typename STRING > |
bool | ends_with (const STRING &str, const char c) |
|
template<typename STRING > |
bool | ends_with_newline (const STRING &str) |
|
template<typename STRING > |
bool | ends_with_crlf (const STRING &str) |
|
std::string | add_leading (const std::string &str, const size_t min_len, const char c) |
|
std::string | add_trailing_copy (const std::string &str, const char c) |
|
void | add_trailing (std::string &str, const char c) |
|
void | add_trailing_crlf (std::string &str) |
|
std::string | add_trailing_crlf_copy (std::string str) |
|
std::string | add_trailing_unless_empty_copy (const std::string &str, const char c) |
|
template<typename STRING > |
void | trim_crlf (STRING &str) |
|
std::string | trim_crlf_copy (std::string str) |
|
bool | embedded_null (const char *str, size_t len) |
|
size_t | len_without_trailing_nulls (const char *str, size_t len) |
|
bool | is_multiline (const std::string &str) |
|
std::string | to_delim (const std::string &str, const char delim) |
|
std::string | first_line (const std::string &str) |
|
bool | is_space (const char c) |
|
bool | is_digit (const char c) |
|
bool | is_alpha (const char c) |
|
bool | is_alphanumeric (const char c) |
|
bool | is_printable (const char c) |
|
bool | is_printable (const unsigned char c) |
|
bool | is_ctrl (const char c) |
|
bool | is_ctrl (const unsigned char c) |
|
bool | is_word (const std::string &str) |
|
bool | is_printable (const std::string &str) |
|
bool | contains_non_space_ctrl (const std::string &str) |
|
bool | contains_space (const std::string &str) |
|
std::string | remove_spaces (const std::string &str) |
|
std::string | replace_spaces (const std::string &str, const char rep) |
|
std::string | reduce_spaces (const std::string &str, const char rep) |
|
std::string | repeat (const char c, size_t n) |
|
std::string | spaces (size_t n) |
|
std::string | indent (const std::string &str, const int first, const int remaining) |
|
std::string | replace_copy (const std::string &str, const char from, const char to) |
|
bool | is_empty (const std::string &str) |
|
bool | is_empty (const char *str) |
|
std::string | unix2dos (const std::string &str, const bool force_eol=false) |
|
template<typename T > |
std::vector< T > | split (const T &str, const typename T::value_type sep, const int maxsplit=-1) |
|
template<class T > |
auto | join (const T &strings, const typename T::value_type &delim, const bool tail=false) |
|
std::vector< std::string > | from_argv (int argc, char *argv[], const bool skip_first) |
|
std::string | trim_left_copy (const std::string &str) |
|
std::string | trim_copy (const std::string &str) |
|
std::string | to_upper_copy (const std::string &str) |
|
std::string | to_lower_copy (const std::string &str) |
|
void | trim (std::string &str) |
|
void | trim_left (std::string &str) |
|
void | to_lower (std::string &str) |
|
void | to_upper (std::string &str) |
|
std::string | remove_blanks (const std::string &str) |
|
std::string | remove_char (const std::string &str, const char remove) |
|