Should this work?

John Colvin john.loughran.colvin at gmail.com
Thu Jan 9 09:40:24 PST 2014


On Thursday, 9 January 2014 at 17:39:00 UTC, Adam D. Ruppe wrote:
> On Thursday, 9 January 2014 at 14:08:02 UTC, Manu wrote:
>>  string y = find(retro("Hello"), 'H');
>
> import std.string;
> auto idx = lastIndexOf("Hello", 'H');
>
> Wow, that's unbelievable difficult. D sucks.

How on earth did I miss that...


More information about the Digitalmars-d mailing list