Given a phone number with country code, how can I return country

drmoyassine

Member
Hi,

Is there a simple way to return country name based on phone number (+00000000)?

You know country codes are not standard. Some are 3 digits, others are 2, or 1. I can make a google sheet of all countries with their code prefixes. I would like to pass the phone number and match it against the google list to return the name of the country. I dont know how to implement that.

Any advice?

Thanks
 
P

Pabblymember11

Guest
Hey @drmoyassine

We looked over the possibility of your concern and as of now, it is not possible to split the phone number digits as per the country code and then detect it accordingly.

If we get any implementation of your use case in the future will update you.

Thanks!!
 
Top