diff options
| author | spl3g <spleefer6@yandex.ru> | 2025-03-16 19:41:18 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-03-16 19:41:18 +0300 |
| commit | f8dc21f52bfb47de5bcfd3fb536f99a5bd8e5ca5 (patch) | |
| tree | 799281d654802cd3fd1449a32d44eb38e5413668 /lib/const_strings.h | |
| parent | a854e4cfa450590753171fbbe4dde8da4f504abd (diff) | |
Add cs_try_chop_delim
Diffstat (limited to 'lib/const_strings.h')
| -rw-r--r-- | lib/const_strings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/const_strings.h b/lib/const_strings.h index 987c6f6..bac629e 100644 --- a/lib/const_strings.h +++ b/lib/const_strings.h @@ -15,6 +15,7 @@ const_string cs_from_parts(char* data, int len); const_string cs_from_cstr(char* cstr); const_string cs_slice(const_string src, int from, int to); const_string cs_chop_delim(const_string *src, char delim); +bool cs_try_chop_delim(const_string *str, char delim, const_string *dst); int cs_find_delim(const_string str, char delim); bool cs_eq(const_string str1, const_string str2); void cs_print(char *format, const_string str); |
