Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Lmember (MPI)

From Tapestries MUCK

Revision as of 01:39, 31 March 2007 by Ash-Fox (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

lmember

{lmember:list,item}
{lmember:list,item,delimiter}

Returns 0 if the given item is NOT in the given list, otherwise, it returns the item's position in the list.

The first list item in the list would return 1, and the third would return 3, for example.

If the delimiter argument is given, then it treats the list as if it were delimited by that string, instead of by carriage returns. (\r's)

Example:

{lmember:{mklist:a,b,c,d,e,f},d}

would return 4.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox