I have a list of all the countries based on their STD dialing codes for example +91 for India, +1 for USA,etc.
Based on dialing code, i can easily pick country. For example with +213 code, i can get Algeria as country.
But for +1 dialing code, i get more than one result(USA, Canada, Jamaica, Puerto Rico). Is there a way i can differentiate between them ?
Is there a way to manage them easily and get required result ?
If user is dialing +1 for Jamaica, he should get country Jamaica and not USA or any other.
Let me know