Unabasheded laziness and the phone edit

Kenneth Brody kenbrody at bestweb.net
Fri Aug 6 07:41:19 PDT 2004


John Esak wrote:
[...]
> 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
[...]

My global edits already has:

  \ <"("> N N N <")"> [!"-"!] <" "> N N N <"-"> N N N N | N N N <"-"> N N N N

Note the addition of the optional accept-and-delete "-" after the accept-
or-supply ")".

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody at spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+




More information about the Filepro-list mailing list