[phobos] substring for std.metastrings
Igor Lesik
curoles at yahoo.com
Sun Mar 7 13:00:41 PST 2010
>>> What does substring do?
>>
>> "returns" true if string A found in string B
Andrei wrote:
>To me "substring" means "get me the substring from i to j". How about "contains"?
Agree, "contains" is better. (I am afraid "strstr" burned too deeply in my brain structures).
But the main question is still unanswered. Do people think that such a function
belongs to std.metastrings?
Thanks,
Igor
More information about the phobos
mailing list