---
name: "firestring_trim"
section: "3"
platform: "linux"
package: "libfirestring-dev"
version: "0.9.12-8"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/firestring_trim"
---

# firestring\_trim(3)

trim excess whitespace from the start and end of a string

## NAME

firestring\_trim - trim excess whitespace from the start and end of a string

## SYNOPSIS

**#include \<firestring.h\>**\
 **-lfirestring**

**char \*firestring\_trim(char \****s***)**

## DESCRIPTION

firestring\_trim() removes any whitespace at the beginning and end of the string *s.* A new pointer to the string (as the start may have moved) is returned

## RETURN VALUE

A pointer inside *s* to the new start of the string.

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

[**libfirestring**(3)](/libfirestring/3.md)
