View Single Post
Old 07-12-2012, 10:58 AM   #4 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Read incoming sms without spaces

You can't iterate though the chars of a string?

Do you understand the concept of a for{} loop?

- create the string buffer
- get the length of the original message
- enter the for{} look, indexing through the chars of the string until you hit the end
- for each char that is not a ' ' (32), append the char to the string buffer.
Offline   Reply With Quote