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 space characters and trailing 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) 1997 / Revision 1.2 1997/03/08


Main Index libtsp