
member_array(3)       LPC Library Functions       member_array(3)

NNAAMMEE
       member_array()  - returns index first occurence of a given
       item in an array

SSYYNNOOPPSSIISS
       int member_array( mixed item, mixed *arr, int flag );

DDEESSCCRRIIPPTTIIOONN
       Returns the index of the  first  occurence  of  `item'  in
       array  `arr'.   If  the  item  is  not  found,  then -1 is
       returned.  If `flag' is 1 and `item'  is  a  string,  then
       only  the  first `strlen(item)' characters of each element
       of `arr' are compared against `item'.

MudOS                       5 Sep 1994                          1

