Use the Remove() method to remove part of StringBuilder