Top |
char * | arv_str_strip () |
gboolean | arv_str_is_uri () |
char * | arv_str_to_uri () |
gboolean | arv_str_parse_double () |
unsigned int | arv_str_parse_double_list () |
void | arv_str_skip_char () |
void | arv_str_skip_colon_and_spaces () |
void | arv_str_skip_comma_and_spaces () |
void | arv_str_skip_semicolon_and_spaces () |
void | arv_str_skip_spaces () |
char * arv_str_strip (char *str
,const char *illegal_chars
,char replacement_char
);
Remove any illegal_chars
from str
, and replace them by replacement_char
if they are not at the end or at the beginning of str
.
Several consecutive illegal_chars
are replaced by only one replacement_char
. illegal_chars
at the beginnig or at the end of str
are simply removed.
If replacement_char
is '\0', all illegal_chars
are simply removed.
str |
a string. |
[allow-none] |
illegal_chars |
illegal characters |
|
replacement_char |
replacement character |
Since: 0.4.0
unsigned int arv_str_parse_double_list (char **str
,unsigned int n_values
,double *values
);