---
name: "strim"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/strim"
---

# strim(9)

Removes leading and trailing whitespace from s.

## 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*.

## COPYRIGHT
