| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 2.10

 

trim

#include "sflstr.h"
char *
trim (
    char *strin)

Synopsis

Eats the whitespace's from the left and right side of a string. This function maintains a proper pointer head. Returns a pointer to head of the buffer. Submitted by Scott Beasley jscottb@infoave.com

Source Code - (sflstr.c)

{
    ltrim (strin);
    strcrop (strin);

    return strin;
}

| << | < | > | >> iMatix Copyright © 1996-99 iMatix Corporation