vl-position
(vl-position item list)
This function returns the index of the first
occurrence of item in list.
Arguments |
item (any symbol, value, or expression) the Lisp
item to be searched in list |
Return |
(integer) returns the index of item in list, if found; NIL if item is not contained in list (index is 0-based) |
Example |
(vl-position "c" '("a" "b"
"c" "d" "c" "b" "a")) |
Remarks |
first item uses an index of 0 |
© Bricsys NV. All rights reserved. |