Why no mutating filter function for strings?