{_,{_,_,{_,Last}},_} = Person.<br><br><br>Sergej<br><br><div class="gmail_quote">2008/6/18 Caitlin Gibbons <<a href="mailto:bioprogrammer@gmail.com">bioprogrammer@gmail.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all.<br><br>I'm looking at:<br><br>Person={person,{name,{first,joe},{last,armstrong}},{footsize,42}}.<br><br>and trying to extract the value of 'last', i.e., 'armstrong'.<br><br>{_,{_,{_,{_,Last},_}=Person.<br>

<br>was unsuccessful. Any help?<br><br>Thanks,<br><font color="#888888"><br>Caitlin<br><br>
</font><br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br>