1. Use Remove() method and give full length of text to remove.
2. Use Replace() method and replace the characters with "".
3. And the EASIEST SOLUTION is just set the builder.length = 0;
check it out.
Most of the posts in this blog are based on real time issues and scenarios. The main goal here is to share userful information and help many people out there. These information are really used and working. Please share any information you have while reading this blog.