From: Ralph Corderoy Date: Tue, 18 Oct 2016 16:05:24 +0000 (+0100) Subject: Add TrimSuffixC(char *s, int c). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/80ca91c25c3eb4f96f6c3842c1c14053ae69e80a?hp=80ca91c25c3eb4f96f6c3842c1c14053ae69e80a Add TrimSuffixC(char *s, int c). TrimSuffixC deletes c from the end of non-NULL string s if it's present, shortening s by 1. Only one instance of c is removed. ---