Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Newbie help: Parsing mobile email address

From: kimm2::mcmaster::ca at: 11-Jun-2002 0:43

Hi, I've managed a crude way to parse a mobile email address down to its phone number (area code, and 7 digit number) using a loop and if statements. However, 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] <Parsing algorithm> Result: ~~~~~~~~~~~~~~~~~~~~~~~ Area Code: 416 Phone Number: 5551234