[REBOL] Re: Newbie help: Parsing mobile email address
From: belymt:saunalahti:fi at: 11-Jun-2002 12:14
At 18:45 11.6.2002 +1200, you wrote:
> > I'm wondering if there's a more efficient way to do it (shortcuts in
>REBOL)
> >
> > Basically I'm trying to do this...
> >
> > Mobile Email Address: [4165551234--pcs--rogers--com]
As international user, i would like to point out that many countries have
totally different scheme on telephone numbers than USA. So if you put a
checking routine to web form (for example) don't assume all phone numbers
have same length as yours... This has happened with some websites and it's
extremely annonying ... :(
For example here in Finland..
Local numbers are between 5 to 9 digits
Area codes are 2 or 3 digits (from 02 to 019)
International prefix for us is 358 (I think?)
For example: (# represents any number, expect 1st can't be zero, I could
give real working numbers but I'm not sure owners of those phones would
like if i did so :-)
09 ########
014 ######
When giving these to foreign people country code is added and Zero dropped.
358 9 ########
358 14 ######
So it can be anything between 8 to 12 digits, and you can't tell area code
apart without knowing local system.
And above does not take mobile numbers into account (those usually have two
digit area code 04, then 1-2 digit Operator code, then 5-8 numbers)
Joanna