member_array.html

final_realms_fluffos_v1/lib/doc/man/html/efuns/arrays/member_array.html · 925 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

<HEAD> <TITLE> member_array - returns index of an occurence of a given item in an array or string </TITLE> </HEAD> <BODY BACKGROUND=http://www.imaginary.com/~beek/gifs/bg.jpg TEXT=#000000 ALINK=#FFFF00 VLINK=#550000 LINK=#000099> <center> <H1> member_array - returns index of an occurence of a given item in an array or string </H1> </center>
<p>
<b> int member_array( mixed item, mixed arr); </b>
<p>
<b> int member_array( mixed item, mixed arr, int start); </b>
<p>
Returns the index of the first occurence of `item' in the array  or string
`arr', or the first occurence at or after 'start'.
If the item is not found, then -1 is returned.
<p>
For the purpose of this efun, strings are considered to be arrays of ints.
<p>
<HR> <ADDRESS> <A HREF=http://wagner.princeton.edu/~tim>  Tim Hollebeek </A> <p> <A HREF="http://www.imaginary.com/~beek/">  Beek </A>@ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere </ADDRESS>

Site Stats

Snippets: 1791
Codebases: 571