B
Ben Bacarisse
^^^^^^^^^Joe Wright said:Mine's prettier..
#define trim rtrim /* trim() is synonomous with rtrim() */
/* Remove trailing whitespace */
char * rtrim(char *str) {
char *s, *p; int c;
s = p = str;
while ((c = *s++)) if (c > ' ') p = s;
Yuck! Was that put in to trip the OP up?