I've a weird problem here. When you use this:
ContactsContract.CommonDataKinds.Phone.NUMBER
It returns 0123 4567890 (or something like that).
Now the SPACE in between these numbers is causing issues in a webservice so I was asked to trim it. I can't. I've tried the .trim() function but it doesn't seem to work.
The only reason I can think of is that this isn't exactly a space. But how can I check? If I copy paste this from the logcat to a text file, it says its a SPACE (ASCII 32). But if it is, why isn't .trim() removing it?