replaceFirst, findPieces, and takeExactly

Jim bitcirkel at yahoo.com
Sat Jan 22 23:22:43 PST 2011


Andrei Alexandrescu Wrote:
> I suspect there might be a simple and intuitive way to define a family 
> of functions that give you whatever portions of the find you're 
> interested in (before, match, after, before and match, match and after). 
> That could be either a naming convention or a template argument. Any 
> ideas, let me know.


splitAt
splitBefore
splitAfter

?


More information about the Digitalmars-d mailing list