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.
|