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 Copyright (C) 1998 / Revision 1.4 1998/07/02


Main Index libtsp