SyntaxFix
Write A Post
Hire A Developer
Questions
delete is not overly complicated :
delete
myStringBuilder.delete(0, myStringBuilder.length());
You can also do :
myStringBuilder.setLength(0);