Remove characters in a SafeString, removeLast, keepLast