in reply to parse array to replace specific spaces with pipes
You say I'm trying to read the file..., whereas your code clearly generates the file (file.txt) using data read, a row at a time, from an Oracle query.
Given this, it strikes me that the simplest solution to your formatting problem (which would, at the same time, solve the problem identified by roboticus) - is, IMO, to modify the query to force Oracle to change the default column separator - to '|' as required - in the report.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: parse array to replace specific spaces with pipes
by neurotoxx (Novice) on Jul 10, 2009 at 16:21 UTC | |
by Bloodnok (Vicar) on Jul 10, 2009 at 23:40 UTC | |
by Anonymous Monk on Jul 11, 2009 at 08:13 UTC |