Returns the index of the specified list item
Supported Platforms: Windows and Mac OS
(vl-position symbol list)
Type: Integer, Real, String, File, Symbol, ads_name, T, or nil
Any AutoLISP symbol.
Type: List
A true list.
Type: Integer or nil
A numeric value containing the index position of symbol in list; otherwise nil if symbol does not exist in the list.
(setq stuff (list "a" "b" "c" "d" "e")) ("a" "b" "c" "d" "e") (vl-position "c" stuff) 2