• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

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
 

Supreme

Well-known member
Staff member
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