add deleteInitial()/deleteTerminal() to StringBuilder