Would some nice person be nice enough to take some time out of thier busy day to explain what the functionality of this is and how it works. I have been trying to figure it out, but without knowing what it is doing, I can't figure out how it's doing it and vice-versa :P char *delete_doubledollar(char *string) { char *read, *write; if ((write = strchr(string, '$')) == NULL) return string; read = write; while (*read) if ((*(write++) = *(read++)) == '$') if (*read == '$') read++; *write = '\0'; return string; } Thanks alot, Chris
This archive was generated by hypermail 2b30 : 12/07/00 PST