pchomp - remove line endings from a string |
#include <pstring.h> char *pchomp (char *line); |
Remove line endings (either CR, CRLF or LF) from the string argument. The string is modified in-place and a pointer to the string is also returned. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |