Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

stringbuilder java setlength

StringBuilder str = new StringBuilder("123456"); 
// set length equal to 5 
str.setLength(5);// str contains "12345"
 
PREVIOUS NEXT
Tagged: #stringbuilder #java #setlength
ADD COMMENT
Topic
Name
2+8 =