9 #ifndef _SQUAREBALL_STRFUNCS_H 10 #define _SQUAREBALL_STRFUNCS_H 121 char**
sb_str_split(
const char *str,
char c,
size_t max_pieces);
132 char*
sb_str_replace(
const char *str,
const char search,
const char *replace);
char * sb_str_find(const char *str, char c)
char * sb_str_strip(char *str)
char * sb_strdup_printf(const char *format,...)
bool sb_str_to_bool(const char *str)
char ** sb_str_split(const char *str, char c, size_t max_pieces)
bool sb_str_starts_with(const char *str, const char *prefix)
bool sb_str_ends_with(const char *str, const char *suffix)
char * sb_str_replace(const char *str, const char search, const char *replace)
char * sb_strdup(const char *s)
char * sb_strndup(const char *s, size_t n)
void sb_strv_free(char **strv)
char * sb_strdup_vprintf(const char *format, va_list ap)
char * sb_str_lstrip(char *str)
char * sb_strv_join(char **strv, const char *separator)
size_t sb_strv_length(char **strv)
char * sb_str_rstrip(char *str)