| char * strnchr | ( | const char * | s, | |
| size_t | n, | |||
| int | c | |||
| ) |
Locates character in the first n characters of string s.
| s | The pointer to the string. | |
| n | The number of first characters will be searched. | |
| c | The expected character. |
| char * strtrimall | ( | char * | src | ) |
Deletes all space characters.
This function deletes the blank space, form-feed('\f'), newline('\n'), carriage return('\r'), horizontal tab('\t'),and vertical tab('\v') in the head and the tail of the string.
| src | The pointer to the string. |
| int substrlen | ( | const char * | text, | |
| int | len, | |||
| int | delimiter, | |||
| int * | nr_delim | |||
| ) |
Locates a substring delimited by one or more delimiters in the first len characters of string text.
| text | The pointer to the string. | |
| len | The number of first characters will be searched. | |
| delimiter | The delimiter which delimites the substring from other. | |
| nr_delim | The number of continuous delimiters will be returned through this pointer. |
1.6.3