Skip to content

cf_string_dedup

Category: string
GitHub: cute_string.h


Collapses consecutive runs of ch down to a single occurrence.

#define cf_string_dedup(s, ch) sdedup(s, ch)
Parameters Description
s The string. Modified in-place.
ch The character to deduplicate.

Remarks

Shortform: sdedup(s, ch).

cf_string_replace
cf_string_trim