---
name: "strstrip"
section: "9"
platform: "linux"
package: "linux-manual-2.6.32"
version: "2.6.32-48squeeze6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/strstrip"
---

# strstrip(9)

Removes leading and trailing whitespace from s.

## NAME

strstrip - Removes leading and trailing whitespace from *s*.

## SYNOPSIS

**char \* strstrip(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
