On Mon, 09 Jun 2014 11:49:29 -0400, monarch_dodra <monarchdo...@gmail.com> wrote:

On Monday, 9 June 2014 at 14:21:21 UTC, Steven Schveighoffer wrote:
Just looked at std.string for a strip function that allows custom character strippage, but apparently not there. The above is quite awkward.

-Steve

It's in algorithm, because it's more generic than just strings.

Ugh.. This makes things difficult. If I want to work with strings, I import std.string.

I understand that the algorithm is applicable to all types, but this makes for some awkward coding. What if you wanted to use both? Surely we can come up with a better solution than this.

-Steve

Reply via email to