dbTalk Databases Forums  

old editing technique

comp.databases.pick comp.databases.pick


Discuss old editing technique in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
bill_tidy@yahoo.co.uk
 
Posts: n/a

Default Re: old editing technique - 01-29-2011 , 10:29 AM






On Jan 29, 6:03*am, Ross Ferris <ro... (AT) stamina (DOT) com.au> wrote:
Quote:
On Jan 29, 6:16*am, Tony Gravagno <tony_grava... (AT) nospam (DOT) invalid
wrote:

What about extensions .... or do you put those in a seperate field
(assuming a "," delay will not work for some reason.

I'm (obviously) not from the US, but I would think that unless you are
using an auto-dialer, the whole question of the leading "1" could be
resolved by the human using the data (hmm, except faxes .... and then
if you had a branch in the Florida Keys and another in Orange County,
then you would need to be location aware for the faxer).

If there are that many "exceptions to the rule" ... or, use something
like skype .... same dialing conventions from/to anywhere :-)
you'd be better learning regular expressions for complete validation
of anything anywhere

Reply With Quote
  #12  
Old   
Alberto
 
Posts: n/a

Default Re: old editing technique - 01-29-2011 , 02:48 PM






I would create a table of masks for each area you want to handle, so that
you could try to match the phone numbers using the mask of that particular
area.
Regards

"concerned_netizen" <tekserf (AT) yahoo (DOT) com> ha scritto nel messaggio
news:19308fa0-0814-4027-968d-9d30478c24f5 (AT) glegroupsg2000goo (DOT) googlegroups.com...
Quote:
I seem to remember how easy it was to take input dates and validate them in
basic.
Does anyone recall something like

input x
x=iconv(x,'d2/')
if x not matches("2n'/'2n'/'2n') then
gosub 100;* fail
end else
value=x
end

can anyone provide the same method for editing a string and returning a
phone number?

p

Reply With Quote
  #13  
Old   
frosty
 
Posts: n/a

Default Re: old editing technique - 01-30-2011 , 09:31 PM



"Frank Winans" <fwinans (AT) sbcglobal (DOT) net> wrote

Quote:
About 20 years ago a man told me that in the small town he
grew up in, they didn't have to dial all 7 digits for local calls...
/me feels old, now. =':^{

I remember when our number was 50787.

--
frosty

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.