CodingForums.com
>
:: Server side development
>
Java and JSP
> JAVA help with StringBuffer
PDA
View Full Version :
JAVA help with StringBuffer
acidrob
04-26-2005, 06:40 AM
I cant understand how to bump the value up by one in my StingBuffer. If I have the letter A in my buffer and I want to set it to the next letter say B, how would I do that?
shmoove
04-26-2005, 09:21 AM
theBuffer.setCharAt(position,theBuffer.getCharAt(position) + 1);
shmoove
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.