replacement for squeeze and removechars.

Antonio Corbi via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 18 08:28:06 PDT 2017


Hi all,

I'm trying dmd-2.075.0-rc1 in one of my projects where I use 
`squeeze` and `removechars`. Both of them are flagged as obsolete 
and in the docs we are suggested to use functions from std.regex 
and/or std.algorithm.

Does any one kow a one-liner from std.regex or std.algorithm that 
can take the role of those deprecated functions?

Thank's
A. Corbi


More information about the Digitalmars-d-learn mailing list