That's not quite what I needed. I need to do the following,
StringBuilder sb1= new StringBuilder("0123456789")
StringBuilder sb2= new StringBuilder("old info")
sb2= sb1(0,4) //wrong
Giving sb2 equal to "0123"
Of course the line above marked wrong is wrong. So how would I do this? I
need the wrong line to clear out the old info and put in the first four
character from the other stringbuilder object.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.