Painless way to trim leading/trailing whitespace in C?
Posted
by coledot
on Stack Overflow
See other posts from Stack Overflow
or by coledot
Published on 2008-09-23T17:57:15Z
Indexed on
2010/03/16
6:16 UTC
Read the original article
Hit count: 146
Is there a clean, preferably standard method of trimming leading and trailing whitespace from a string in C? I'd roll my own, but I would think this is a common problem with an equally common solution.
© Stack Overflow or respective owner