cf_string_dedup¶
Category: string
GitHub: cute_string.h
Collapses consecutive runs of ch down to a single occurrence.
| Parameters | Description |
|---|---|
s |
The string. Modified in-place. |
ch |
The character to deduplicate. |
Remarks¶
Shortform: sdedup(s, ch).