Remove space from number
This commit is contained in:
parent
3cfab63465
commit
b4c836d48e
@ -264,6 +264,7 @@ public class MultiSmsSender extends Activity {
|
|||||||
//Check if numbers are correct and prepare deliveryId
|
//Check if numbers are correct and prepare deliveryId
|
||||||
for(int i= 0; i< size; i++) {
|
for(int i= 0; i< size; i++) {
|
||||||
String newN = numbers[i].trim();
|
String newN = numbers[i].trim();
|
||||||
|
newN = newN.replace(" ", "");
|
||||||
if (!newN.equals("")
|
if (!newN.equals("")
|
||||||
&& PhoneNumberUtils.isWellFormedSmsAddress(newN)
|
&& PhoneNumberUtils.isWellFormedSmsAddress(newN)
|
||||||
&& !phoneNumberConform.contains(newN)) {
|
&& !phoneNumberConform.contains(newN)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user