Skip to content

cf_string_prefix

Category: string
GitHub: cute_string.h


Returns true if the string starts with the given prefix.

#define cf_string_prefix(s, prefix) sprefix(s, prefix)
Parameters Description
s The string.
prefix The prefix to test.

Return Value

Returns true if s starts with prefix.

Remarks

Shortform: sprefix(s, prefix).

cf_string_suffix
cf_string_contains
cf_string_find