I have this list
[id,container,feed_id,prev,next,feeds,name,street,street_no,
firstname,lastname,email,password,phone...]
and I want to get the position of various elements, like name, which would be 7.
How do I get the position of elements in a list with Erlang?
lists:member(name, List).
This only returns whether an element is part of the list.