---
name: "firestring_estr_chomp"
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_chomp"
---

# firestring\_estr\_chomp(3)

remove whitespace from the end of an estring

## NAME

firestring\_estr\_chomp - remove whitespace from the end of an estring

## SYNOPSIS

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

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

## DESCRIPTION

firestring\_estr\_chomp shortens *string* until the string ends with a non-whitespace character or is empty.

## RETURN VALUE

None.

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

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