Function
Purplestr_strip_char
since: 2.0
Declaration [src]
void
purple_str_strip_char (
char* str,
char thechar
)
Description [src]
Strips all instances of the given character from the given string. The string is modified in place. This is useful for stripping new line characters, for example.
Example usage: purple_str_strip_char(my_dumb_string, ‘\n’);.
Available since: 2.0