eliminate junk from std.string?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jan 11 15:24:30 PST 2011


On 1/11/11 1:47 PM, Jerry Quinn wrote:
> Jerry Quinn Wrote:
>
>> One set of functions I'd like to see are startsWith() and endsWith().  I find them frequently useful in Java and an irritating lack in the C++ standard library.
>
> Just adding that these functions are useful because they're more efficient than doing a find and checking that the match is in the first position.
>
> Jerry

They're in std.algorithm.

Andrei


More information about the Digitalmars-d mailing list