iphone - How can i get prefix pf phone number? -


hello trying prefix of phone numbers in order actual phone number without country dialing code. how can achieve this?

please note phone numbers can

123456789
0099123456789
+9912345678

or other formats country code , area code etc..

if tried not sure ,

nsstring *str=[phonenumber substringtoindex:[phonenumber length]-10]; 

Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -