View Single Post
Old 08-15-2008, 06:36 AM   #2 (permalink)
Knows Where the Search Button Is
irlennard's Avatar
Join Date: Jan 2008
Location: Berlin
Model: 9000
Carrier: T-Mobile
Posts: 32
Post Thanks: 0
Thanked 0 Times in 0 Posts

So what is the problem? What does your code above do? One thing I noticed though, is that you're comparing the char "c" variable to -1. Char is unsigned so this will never succeed. I would suggest making c an int and doing the cast to char where you append it to your StringBuffer.

-- Ian

Last edited by irlennard : 08-15-2008 at 06:37 AM.
Offline   Reply With Quote