STtrim


Routine

int STtrim (const char Si[], char So[])

Purpose

Copy a string, trimming leading and trailing white-space

Description

This routine copies characters from the input string to the output string. Leading white space characters and trailing white space characters are omitted.

Parameters

<- int STtrim
Number of characters in the output string
-> const char Si[]
Input character string
<- char So[]
Output character string. The output string pointer can be the same as the input string pointer.

Author / revision

P. Kabal / Revision 1.7 2003/05/09


Main Index libtsp