add string functions, cleanup vector docs

This commit is contained in:
2023-12-03 17:08:04 -08:00
parent 0857e7a0a1
commit 194acafd3a
6 changed files with 134 additions and 2 deletions

10
include/lfstring.h Normal file
View File

@ -0,0 +1,10 @@
#ifndef LIBFLINT_H_STRING
#define LIBFLINT_H_STRING
#include <stddef.h>
size_t *find_substrings(const char* haystack, const char* needle, size_t *num_substrings);
const char* substr(const char* str, size_t idx, size_t len);
#endif // LIBFLINT_H_STRING