[phobos] substring for std.metastrings

Sean Kelly sean at invisibleduck.org
Sun Mar 7 18:57:34 PST 2010


+1.  It's what I chose for Tango anyway:

http://dsource.org/projects/tango/docs/stable/tango.core.Array.html#contains

On Mar 4, 2010, at 11:11 PM, Andrei Alexandrescu wrote:

> To me "substring" means "get me the substring from i to j". How about "contains"?
> 
> Andrei
> 
> Igor Lesik wrote:
>>> What does substring do?
>> "returns" true if string A found in string B
>> Igor
>>      _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos



More information about the phobos mailing list