Hi,

Let's say there is a phone number, say "+816726871111" ...
I'm trying to extract which country the call is being made to, which
area code, and whether if its a mobile or a land line.

I understand EPP standards tell me, the country code can be 1-3 digits.
In the case above, it's Japan. But I need some logic here.

Is there a class or a code snippet which looks up a table and comes up
with this sort of thing?

Any info is much appreciated.

Thanks
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to