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

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

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

uitableview - Create and use custom prototype table cells in xamarin ios using storyboard -