splitter for strings
Chris via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 9 13:04:04 PDT 2014
On Monday, 9 June 2014 at 20:01:05 UTC, monarch_dodra wrote:
> On Monday, 9 June 2014 at 19:47:29 UTC, Chris wrote:
>> Uh, I see, I misread the signature of std.string.strip(). So
>> that's one option now, to strip all trailing hyphens with
>> std.string.strip(). Well, I'll give it a shot tomorrow.
>
> No, you read the documentation of std.*STRING*.strip correctly.
>
> I'm suggesting you use the one from std.*ALGORITHM*.
>
> The signatures are mutually exclusive, so you don't need to
> qualify them.
Ah, ok, talking about not seeing the forest for the trees ...
More information about the Digitalmars-d-learn
mailing list