jeffheaton's picture

    The Linden Scripting Language offers several functions to perform core string operations. While the list of string functions for the Linden Scripting Language is not extensive, they do provide functions to perform all of the fundamental string operations. Table 5.1 summarizes the string functions offered by the Linden Scripting Language.

Table 5.1: Linden String Functions

Function Purpose
llDeleteSubString removes a slice of a string.
llDumpList2String turns a list into a string.
llParseString2List turns a string into a list.
llParseStringKeepNulls turns a string into a list, keep nulls.
llGetSubString extracts a part of a string.
llInsertString inserts a string into a string.
llToLower converts a string to lowercase.
llToUpper converts a string to UPPERCASE.
llStringTrim removes leading and/or trailing spaces.
llStringLength gets the length of a string.
llSubStringIndex finds the position of a string in another string.
llEscapeURL returns the string that is the URL-escaped version of urlMark Biss2007-12-12T00:00:00Caps?? (replacing spaces with %20, etc).
llUnescapeURL returns the string that is the URL unescaped version of url, replacing "%20" with spaces, etc.

    Many of these functions will be explained in this chapter.


Copyright 2005 - 2012 by Heaton Research, Inc.. Heaton Research™ and Encog™ are trademarks of Heaton Research. Click here for copyright, license and trademark information.