afc_string_trim

Name

afc_string_trim  -- Removes all blank chars from string

Synopsis

char * afc_string_trim ( char * string );

Description

This function removes all blank chars from both start and end string. Blank chars are: space, tab, new line (10), carriage return (13). Please note that this is a in place substitution. The provided string will be modified.

Inputs

string

AFC string to convert.

Result

Note

See Also