Nordlöw:

It would be nice to have a lambda-variant of std.string.tr to call like

x.tr!isWhite(['_'])

If your text is ASCII, then there is std.ascii.whitespace that can be given as argument to std.string.tr.

Bye,
bearophile

Reply via email to