On 23 Nov 2004 15:15:38 -0800,
j0******@engineer.com (j0mbolar) wrote:
what might be a practical use of strspn?
Something like this:
/* Skip leading whitespace and remove trailing whitespace.
*/
pline = templine + strspn( templine, " \t\n\r\f" );
stripTerminalWhitespace( pline );
linelen = strlen( pline );
--
#include <standard.disclaimer>
_
Kevin D Quitt USA 91387-4454 96.37% of all statistics are made up
Per the FCA, this address may not be added to any commercial mail list