Post your code. Basically, set all the whitespace characters into a string of their own, and then use strstr() to find them. If a subsequent strstr() call returns an adjacent address to the prior saved address, you found a character you can remove.

If you work on your character array from right to left, it's easier.

Todd