MicrOS
|
#include "../string.h"
Functions | |
size_t | strcspn (const char *str1, const char *str2) |
Get span until character in string. More... | |
size_t strcspn | ( | const char * | str1, |
const char * | str2 | ||
) |
Get span until character in string.
Scans str1 for the first occurrence of any of the characters that are part of str2, returning the number of characters of str1 read before this first occurrence.
str1 | C string to be scanned. |
str2 | C string containing the characters to match. |