Unabasheded laziness and the phone edit
John Esak
john at valar.com
Thu Aug 5 23:15:23 PDT 2004
Okay, I know I can do this... but it would take me hours and hours of
grueling thought and consternation that once done, it would get done better
by 15 people here and then re-written by Ken in two minutes to be more
elegant and efficient than all of those entries combined. So, why not just
take the lazy path and let him do it in the first place.... :-)
Please, please, please... I would do it with a big "|" and a whole 'nother
possible edit... and I know that is probably stupid. So, how can I change
this phone edit below to also convert a number given as either 123-456-7890
into the standard (123) 456-7890 filePro edit.
PHONE .\ <"("> N N N <")"> <" "> N N N <"-"> N N N N | N N N <"-"> N N N N
Is that enough groveling... :-) If you saw my fumblings over this, you
would laugh so I'm not going to put it here. It works okay, but it is just a
complete copy of this edit with an alternate one written to do the dashes.
Need I ask if there is a better way??? :-) Go ahead, blow me away....
John
P.S. - Why is it that I can write some of the most fantastic processing
tables known to man (and women)... but write the most clumsy, stupid (but at
least they work) edits? :-( I don't think in "edit-eeze".
More information about the Filepro-list
mailing list