in reply to Re: parse array to replace specific spaces with pipes
in thread parse array to replace specific spaces with pipes
Ah, yes...that can be bad. I was able to structure the query to ignore middle initials, but a few slipped in.
__DATA__ 0211121253|Mike|Dell|ID06533 0211121253|A|Chris|Jones|ID02014 # this is not good 0211121253|Pa|Kettle|ID65255 0111119112|Mitch|Poo|ID05983
However, this leads me to the question: How do I remove the initial and/or period, leaving the data structure the same?
pseudo code: if row contains an element with one letter then remove letter continue pipe delimiting...
Thanks, vince
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: parse array to replace specific spaces with pipes
by roboticus (Chancellor) on Jul 10, 2009 at 22:44 UTC | |
|
Re^3: parse array to replace specific spaces with pipes
by mzedeler (Pilgrim) on Jul 12, 2009 at 22:42 UTC |