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

llSubStringIndex

LSL
integer llSubStringIndex(string source, string pattern)

Returns an integer that is the index in Text where string pattern Sequence first appears. Returns -1 if not found.

Parameters

TypeName
string source
string pattern
Energy 10

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

More in LSL