<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 10 January 2014 03:40, John Colvin <span dir="ltr"><<a href="mailto:john.loughran.colvin@gmail.com" target="_blank">john.loughran.colvin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thursday, 9 January 2014 at 17:39:00 UTC, Adam D. Ruppe wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thursday, 9 January 2014 at 14:08:02 UTC, Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 string y = find(retro("Hello"), 'H');<br>
</blockquote>
<br>
import std.string;<br>
auto idx = lastIndexOf("Hello", 'H');<br>
<br>
Wow, that's unbelievable difficult. D sucks.<br>
</blockquote>
<br></div></div>
How on earth did I miss that...<br>
</blockquote></div><br></div><div class="gmail_extra">I have to wonder the same thing.</div><div class="gmail_extra">It's just not anything like anything I've ever called it before I guess.</div><div class="gmail_extra">
I guess I started with find, and then it refers you to retro if you want to reverse find, and of course, by this time I'm nowhere near std.string anymore. Hard to find something if you're not even looking in the same file :/</div>
</div>