-
Notifications
You must be signed in to change notification settings - Fork 0
Setters
Thomas Couacault edited this page Feb 8, 2018
·
6 revisions
void s_set(String *str, void *newContent, S_TYPE type)
The s_set() function edits the content of the str String pointer from newContent. newContent can either be a char pointer or a String pointer, depending on the value of type. s_set() does nothing if newContent is NULL.
void s_upper(String *str)
Upper case the content of str.
void s_lower(String *str)
Lower case the content of str.
void s_reverse(String *str)
Reverses the content of str.
void s_replace(String *str, char current, char new)
Replaces the current character by new in str content.