I need to split this string for sending it to Mojo Dialer.
The format I have is:
The String shows first the phone type, and then the phone number. Separated by commas.
My code is the following:
I can change every placeholder for its corresponding variable, but I need to separate the phone numbers, and use the type for setting it as 0 or 1, and also use just the number as the value.
It's a JSON format, so it has to be like that. If I change it, the API will not accept it.
Please sign in to leave a comment.