---
name: "firestring_estr_ip_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_estr_ip_trim"
---

# firestring\_estr\_ip\_trim(3)

remove whitespace from the beginning and end of an estring

## NAME

firestring\_estr\_ip\_trim - remove whitespace from the beginning and end of an estring

## SYNOPSIS

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

**void firestring\_estr\_trim(struct firestring\_estr\_t \****string***)**

## DESCRIPTION

firestring\_estr\_trim removes whitespace from the beginning and end of *string*. It uses [*firestring\_estr\_ip\_chug*(3)](/firestring_estr_ip_chug/3.md) instead of [*firestring\_estr\_chug*(3)](/firestring_estr_chug/3.md), so the resulting estring can still be freed normally.

## RETURN VALUE

None.

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

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