Skip to content
lsl.devlsl.devLSL Dev

CatLists

LSL Header: {{LSL Header|ml=*}}RightToc: {{RightToc}}

Lists

Name Creator Description
List2CSVKunnis BasiatList2CSV & CSV2List that include preserving type and escaping characters.
list_castFractured CrystalCasts a list of strings into the type they appear to be. Designed for preprocessing user input for feeding into llSetPrimitiveParams
List: Find Last IndexVoid SingerReturns the last index of searched item in a source list. (backwards version of llListFindList)
List: Multi FindVoid SingerReturns the first found index of multiple search items in a list. (Multi-item version of llListFindList. Fwd and Rev versions included)
List: ReverseVoid SingerReturns an input List in reverse order
ParseString2ListStrife OnizukaSame as llParseString2List and llParseStringKeepNulls, but not limited to 8 spacers or separators. Thus substitute a call to the llParseString2List and llParseStringKeepNulls functions by a call to ParseString2List whenever you have more than 8 separators or more than 8 spacers.
TightListStrife OnizukaTight List is a family of functions for encoding lists as strings and then decoding them back into lists. There are two flavors: TightList and TightListType. TightListType preserves types and uses a 6 char header, while TightList uses a 1 char header that doesn't preserve type.
Count Occurrences in a listDora GustafsonLook for and count anything, that can be an element, in a list. Two scripts, one straight and one recursive
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from CatLists, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.