||Re: separator for CSV file to be imported into dBase
Mervyn Bick <email@example.com>
||Thu, 24 Sep 2020 10:58:11 +0200
On 2020/09/24 10:00, Akshat Kapoor wrote:
> Good Afternoon Gaetano, Jean,
> I am yet to see Mervyn's Code but going by the time frame he was working
> on it till late hours so must be good.
I always look in on the computer just before going to bed. The code
didn't take long to write so I didn't loose too much beauty sleep. :-)
> The code which Gaetano modified needs further correction.
> The first starting " and the ending " are missing.
Gaetano's code in the inner do while loop replaces every ; with ","
which means that there is neither a double quote at the beginning nor at
the end of the string.
The line chr_str='"'+chr_str+'"' immediately before the line
fout.writeln(chr_str) takes care of that.