splitter for strings
monarch_dodra via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 9 13:01:04 PDT 2014
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.
More information about the Digitalmars-d-learn
mailing list