strings: remove characters in place