diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-13 16:13:06 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-13 16:13:06 +0200 |
commit | 9566646cd54a34c0dfe2dbdd89ee3858372a6c28 (patch) | |
tree | 1aa3942cb421b2fc90426b8e0984120511128a9d /src/stringutils.h | |
parent | ae0520e57267dbd866fc8cd25f66f4e6af2ac118 (diff) |
Move string utils to their own file
Diffstat (limited to 'src/stringutils.h')
-rw-r--r-- | src/stringutils.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stringutils.h b/src/stringutils.h new file mode 100644 index 0000000..a14d76c --- /dev/null +++ b/src/stringutils.h @@ -0,0 +1,9 @@ +#ifndef STRINGUTILS_H +#define STRINGUTILS_H + +void string_replace(char *str, char old_char, char new_char); +char* lstrip(char *str); +void rstrip(char *str); +char* strip(char *str); + +#endif |