llStringTrim
LSLstring llStringTrim(string src, integer type)
Outputs a string, eliminating white-space from the start and/or end of the input string Text.\ Valid options for TrimType:\ STRING_TRIM_HEAD: trim all leading spaces in Text\ STRING_TRIM_TAIL: trim all trailing spaces in Text\ STRING_TRIM: trim all leading and trailing spaces in Text.
Parameters
| Type | Name |
|---|---|
| string | src |
| integer | type |
The Linden Scripting Library — what every SL-compatible grid provides.