Removing whitespace duplicates
    "Nordlöw" via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Wed Oct 22 12:00:35 PDT 2014
    
    
  
On Tuesday, 21 October 2014 at 08:04:13 UTC, bearophile wrote:
> If your text is ASCII, then there is std.ascii.whitespace that 
> can be given as argument to std.string.tr.
>
> Bye,
> bearophile
http://dlang.org/phobos/std_ascii.html#.whitespace
is of string but
std.string.tr needs [string] as argument.
How does that work?
    
    
More information about the Digitalmars-d-learn
mailing list