utils/string.h file

String utilities.



auto string_is_ascii(const char* string) -> int
Returns if the string is ASCII.
auto string_array_contains_substr(char** str_array, int num_str, char* substr) -> char*
Returns the matched string if the string array contains the given substring.
auto string_is_equal(const char* str1, const char* str2, int ignore_case) -> int
Returns if the two strings are equal.