<div class="gmail_quote">On 31 December 2010 20:44, Matthew Steele <span dir="ltr">&lt;<a href="mailto:mdsteele@alum.mit.edu">mdsteele@alum.mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Sounds like you&#39;re looking for `last&#39;, which is in the Prelude.<br></blockquote><div><br></div><div>Yep, feeling dumb I did not try it !</div><div><br></div><div>Thanks,</div><div><br></div><div>Aaron</div><div> </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  <a href="http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Prelude.html#v%3Alast" target="_blank">http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Prelude.html#v%3Alast</a><br>
<br>
Cheers,<br>
-Matt<div><div></div><div class="h5"><br>
<br>
On Dec 31, 2010, at 3:39 PM, Aaron Gray wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Is there an easy Haskell function that gets the last Char of a [Char] or String ?<br>
<br>
Many thanks in advance,<br>
<br>
Aaron<br>
<br></div></div><div class="im">
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></blockquote>
<br>
</blockquote></div><br>