Reputation: 1855
I am developing a app in app inventor 2. When i retrieve a phone number(for eg.+************) from the contact's list by using the phone number picker and setting that phonenumber to a label it appears like (+** ***** *****). I need to clear all the spaces and the phone number should look like(+************). I am not able to do it by using the trim function in text section of app inventor 2. Can any one please suggest me how to clear all the spaces in the phone number?
Upvotes: 0
Views: 1037
Reputation: 67229
You can use replace all to replace all instances of " "
(the space character) with ""
(nothing).
Upvotes: 1