
2 Apr
2007
2 Apr
'07
2:22 p.m.
Dear all, I was trying to remove (replace, find...) characters from a string through the handy classification class. Unfortunately there is no erase_if fct which can be fed with this predicate functions. There is a trim_if function, but this trims only. It would be handy if all these '_if' variants where implemented for find, repalce and erase. Also the 'any' (or contains_if with predicate) is something we need regularly. But maybe this functionality can be achieved in another way. Anyone an idea? Remove_if/erase combination does of course work, but these are quite cumbersome. Wkr, me