11 # include <vcl_msvc_warnings.h> 86 const std::string& find_str,
87 const std::string& replace_str,
97 #endif // vul_string_h double vul_string_atof(std::string const &s)
Reads a double from a string.
char * vul_string_c_upcase(char *)
Converts all alphabetical characters to uppercase.
char * vul_string_c_reverse(char *)
Reverses the order of the characters in string.
double vul_string_atof_withsuffix(std::string const &s)
Reads a double from a string, with k, kb, M, etc suffix.
std::string & vul_string_reverse(std::string &)
Reverses the order of the characters in string.
char * vul_string_c_downcase(char *)
Converts all alphabetical characters to lowercase.
std::vector< int > vul_string_to_int_list(std::string str)
Convert a string to a list of ints.
std::string & vul_string_upcase(std::string &)
Converts all alphabetical characters to uppercase.
std::string vul_string_escape_ctrl_chars(const std::string &in)
Replace control chars with escaped representations.
std::string & vul_string_left_trim(std::string &, const char *)
Removes any prefix occurrence of rem from str and returns modified string.
char * vul_string_c_capitalize(char *)
Capitalizes all words in a string.
bool vul_string_replace(std::string &full_str, const std::string &find_str, const std::string &replace_str, int num_times)
replaces instances "find_str" in "full_str" with "replace_str" a given "num_times".
std::string & vul_string_right_trim(std::string &, const char *)
Removes any suffix occurrence of rem from str and returns modified string.
bool vul_string_to_bool(const std::string &str)
Convert a string to a boolean.
std::string & vul_string_capitalize(std::string &)
Capitalizes all words in string.
char * vul_string_c_left_trim(char *str, const char *rem)
Removes any prefix occurrence of rem from str and returns modified string.
int vul_string_atoi(std::string const &)
Reads an integer from a string.
bool vul_string_expand_var(std::string &str)
Expand any environment variables in the string.
std::string & vul_string_trim(std::string &, const char *)
Removes any occurrences of rem from str and returns modified string.
char * vul_string_c_trim(char *str, const char *rem)
Removes any occurrences of rem from str, and returns the modified string.
char * vul_string_c_right_trim(char *str, const char *rem)
Removes any suffix occurrence of rem from str and returns modified string.
std::string & vul_string_downcase(std::string &)
Converts all alphabetical characters to lowercase.