get_assoc/6

get_assoc(+ Key,+ Assoc,? Value,+ NAssoc,? NValue)*

If Key is one of the elements in the association list Assoc, return the associated value Value and a new association list NAssoc where Key is associated with NValue.