# STRING_TRIM

*LSL constant*

```lsl
integer STRING_TRIM = 0x03;
```

Trims whitespace off both the beginning and the end of the string.

Constant groups: [StringTrimType](/constants/groups/StringTrimType/)

Trim spaces off the beginning and the end. Equal to

```lsl
STRING_TRIM_HEAD | STRING_TRIM_TAIL
```

## See also

### Functions

- [llStringTrim](/functions/llStringTrim/)

---

*Source: [STRING TRIM](https://wiki.secondlife.com/wiki/STRING_TRIM) on the Second Life Wiki. Content from the Second Life Wiki article STRING TRIM (revision 1194713, 2015-01-24), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/STRING_TRIM/
