iOS Question Contact Number Spaces

David Martinez

Member
Licensed User
Longtime User
The actual line of code was:

B4X:
strTempPhone = Regex.Replace(" ", strTempPhone, "")

I just posted the method.

This code was working fine in the B4A version of my application but not in B4i so it seems to be specific to IOS Contact spaces.

Anyway, your code seems to work fine...thanks!
 
Upvote 0

David Martinez

Member
Licensed User
Longtime User
This issue seems to have returned again. I thought it may be just the real phone but the simulator is doing it as well. Both Regex and string replace methods do not remove the space between the parentheses and the number ie. (323)<here>333-9876. This issue seems to be erratic.

The answer below seems to work for people but I don't know how to implement it...

http://stackoverflow.com/questions/...e-from-contact-number-fetched-from-phone-book
 
Last edited:
Upvote 0
Top