strim
Prev | String Manipulation | Next

## Name

strim — Removes leading and trailing whitespace from `s`.

## Synopsis

`char * strim (` | char * s`)`;

## Arguments

`s`

  The string to be stripped.

## Description

Note that the first trailing whitespace is replaced with a `NUL-terminator` in the given string `s`. Returns a pointer to the first non-whitespace character in `s`.

Prev | Up | Next
skip_spaces | Home | strlen