Skip to content

llStringTrim

string llStringTrim(string Text, integer TrimType)

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
Text (string)
String to trim
TrimType (integer)
STRING_TRIM_HEAD, STRING_TRIM_TAIL, or STRING_TRIM.

Add example usage here.

Add additional notes, caveats, or tips here.

  • Related pages can be linked here