Re: [PBML] Sub Help - dealing with hyphens
>>>>> "campbell262" == campbell262 <campbell262@...> writes:campbell262> I have a record:
campbell262> I would like to remove the hyphens from the first, and fourth values as delimited by commas but not the third value. So I would like to have the record look like this:
campbell262> Can I do this using a Perl regular expression?
Best would be to use a CSV parser, and just do the substitution
on the useful fields.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion