2023-02-11 15:06:47 +01:00
|
|
|
#ifndef CUTILS_CSTR_H_
|
|
|
|
#define CUTILS_CSTR_H_
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
char *strtrim (char *str); /* trim whitespace of a cstring (both beginning and end) */
|
2023-02-11 16:25:24 +01:00
|
|
|
char *strtriml (char *str); /* trim whitespace of a cstring on the left (beginning of string). */
|
2023-02-11 15:06:47 +01:00
|
|
|
size_t strtrimr (char *str); /* trim whitespace of a cstring on the right (end of string) */
|
|
|
|
|
|
|
|
#endif // CUTILS_CSTR_H_
|