Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

llStringTrim

LSL
string 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

TypeName
string src
integer type
Energy 10

The Linden Scripting Library — what every SL-compatible grid provides.

More in LSL