||Re: character string problem
Mervyn Bick <email@example.com>
||Sat, 16 Mar 2019 22:07:28 +0200
On 2019-03-16 8:13 PM, Charlie wrote:
> Hi Mervyn... Sorry about your electricity. That usually happens here when we have a hurricane.
> One question. Say I want to do the same with the title field. Would I just do it concurrently or would I need to do it in a different loop?
You need to step through the title field character by character as well.
******** Add the following to your existing program *****
do while not eof()
audesc = au_desc
for n = len(audesc) to 1 step -1
if substr(audesc,n,1) = ["]
audesc = stuff(audesc,n,1,[\"])
ctitle = title
for n = len(ctitle) to 1 step -1
if substr(ctitle,n,1) = ["]
ctitle = stuff(ctitle,n,1,[\"])
replace au_desc with audesc, title with ctitle