in reply to Search and replace the word in Column 16
The replace the field if necessary and then recreate the record by joining the fields again?my @fields = split /|/, $record;
I am sure someone will have a far more efficient and exotic answer, but sometimes first principles works.
Of course, gellyfish is right, the | should be escaped:
jdtorontomy @fields = split /\|/, $record;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Search and replace the word in Column 16
by gellyfish (Monsignor) on Jul 25, 2006 at 12:17 UTC |