Should this work?

Manu turkeyman at gmail.com
Thu Jan 9 06:33:28 PST 2014


On 10 January 2014 00:19, Tobias Pankrath <tobias at pankrath.net> wrote:

> On Thursday, 9 January 2014 at 14:08:02 UTC, Manu wrote:
>
>>
>> Is that wrong? That seems to be how the docs suggest it should be used.
>>
>>
> --
> string s = find(retro("Hello"), "H").source;
> --
> Is that working?
>

If I have to type that, I'm going to write my own string library...
There's no argument where that can be considered superior to:
strrchr("Hello", 'H');
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140110/01e759b1/attachment-0001.html>


More information about the Digitalmars-d mailing list