Should this work?

John Colvin john.loughran.colvin at gmail.com
Thu Jan 9 07:22:35 PST 2014


On Thursday, 9 January 2014 at 15:14:04 UTC, Manu wrote:
> However, I think to get the expected result from unicode you 
> need
>>
>> string y = "Hello".byGrapheme.retro.find('H').to!string;
>>
>> but I might be wrong.
>>
>
> Bugger that. This is not an example of "D is good at strings!".

Agreed. std.range and std.algorithm should be unicode correct 
with strings and leave the byte by byte access to ubyte arrays.


More information about the Digitalmars-d mailing list