Dave’s Brain
Home
Search
Browse
Recent
Keywords
Other sites
Feedback
Sign in
Random
Crawlers
Programming Tips
- Java: How can I clear (make empty) a StringBuilder?
Date:
2014oct4
Language:
Java
Q.
Java: How can I clear (make empty) a StringBuilder?
A.
Do this:
sb
.
setLength
(
0
);