The rfind challenge

Phil Lavoie maidenphil at hotmail.com
Tue Jan 15 11:11:42 PST 2013


It'd be nicer if we could use an operator, but this is wishful 
thinking:

auto r = r2.jumpTo( d2 ); //r2d2, yes.
Equivalent to:
auto r = r2[ d2 .. $ ];
Or:
auto r = r2[ d2 ... ];

Again, wishful thinking.


More information about the Digitalmars-d mailing list