At 11:05 11.6.2002 -0400, you wrote: >Thanks for your help everyone! All these solutions are great! > >Joanna, that's a very good point about international numbers. However >at this point I can get away with not worrying about it... whew! It >definitely sounds a lot more complicated.
Well.. as long as you keep accepting different length numbers it's not a problem. Country codes are all you may want to try parse out.. http://www.the-acr.com/codes/cntryno.htm seems to have quite good list, although I have no idea if it's accurate or up-to-date. >Cheers, >Matt > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf >Of Joanna Kurki >Sent: Tuesday, June 11, 2002 5:15 AM >To: [EMAIL PROTECTED] >Subject: [REBOL] Re: Newbie help: Parsing mobile email address > >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: [EMAIL PROTECTED] > >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 > > > > >-- >To unsubscribe from this list, please send an email to >[EMAIL PROTECTED] with "unsubscribe" in the >subject, without the quotes. > >-- >To unsubscribe from this list, please send an email to >[EMAIL PROTECTED] with "unsubscribe" in the >subject, without the quotes. www.mp3.com/JoannaK Free MP3 music -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
