I have a custom form made with Vue there is a field for a mobile number where I am using Vue Int Tel input package for country code dropdown with flags.
I got a country Dial code value for the selected input from the country code dropdown. I want to get the country code from the dialing code value. For example, If India is the selected country and I had a dial code value +91 How should I deduce Country code i.e. IN from that particular dial code value?
**I'm able to get both values separately, but what I can't able to do is deducing country code from dial code.
Any Help will much be appreciated!