Skip to content

slast_index_of

Category: string
GitHub: cute_string.h


Scanning from right-to-left, returns the first index of ch found.

#define slast_index_of(s, ch) cf_string_last_index_of(s, ch)
Parameters Description
s The string. Can be NULL.
ch A character to search for.

Return Value

Returns -1 if none are found.

sdyna
sfirst_index_of
sfind