sfirst_index_of¶
Category: string
GitHub: cute_string.h
Scanning from left-to-right, returns the first index of ch found.
| Parameters | Description |
|---|---|
s |
The string. Can be NULL. |
ch |
A character to search for. |
Return Value¶
Returns -1 if none are found.