cf_string_first_index_of¶
Category: string
GitHub: cute_string.h
Returns the index of the first occurrence of ch in the string.
| Parameters | Description |
|---|---|
s |
The string. |
ch |
The character to search for. |
Return Value¶
Returns the index, or -1 if not found.
Remarks¶
Shortform: sfirst_index_of(s, ch).