sprefix¶
Category: string
GitHub: cute_string.h
Check to see if the string's prefix matches.
Parameters | Description |
---|---|
s | The string. Can be NULL . |
prefix | A string to compare against the beginning of s . |
Return Value¶
Returns true if prefix
is the prefix of s
, false otherwise.
Related Pages¶
sdyna
sfind
ssuffix
scontains
sfirst_index_of
slast_index_of