On Sunday, 30 October 2016 at 23:47:54 UTC, Ali Çehreli wrote:
On 10/30/2016 01:50 PM, Alfred Newman wrote:[...]Here is something along the lines of what others have suggested: auto parse(R, S)(R range, S separators) { import std.algorithm : splitter, filter, canFind; import std.range : empty; [...]
Thank you @all. @Ali, that's exactly what I was looking for. The phobos is awesome (and pretty huge). Cheers