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

llGetSubString

LSL
string llGetSubString(string src, integer start, integer end)

Returns a sub-string from String, in a range specified by the Start and End indicies (inclusive).\ Using negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would capture the entire string.\ If Start is greater than End, the sub string is the exclusion of the entries.

Parameters

TypeName
string src
integer start
integer end
Energy 10

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

More in LSL