
Go to the source code of this file.
Functions | |
| int | strpos (const char *haystack, const char *needle) |
| unsigned char | strcount (const char *haystack, const char *needle) |
Header file for string_utils.c.
Definition in file string_utils.h.
| unsigned char strcount | ( | const char * | haystack, |
| const char * | needle | ||
| ) |
Counts how many times a string is present in another string.
| haystack | The string to search in. |
| needle | The string to search for. |
Definition at line 19 of file string_utils.c.
| int strpos | ( | const char * | haystack, |
| const char * | needle | ||
| ) |
Finds the position of a string in a string (or char in a string).
| haystack | The string to search in. |
| needle | The string to search for. |
Definition at line 11 of file string_utils.c.
1.8.8