Subject Re: character string problem
From Mervyn Bick <invalid@invalid.invald>
Date Sat, 16 Mar 2019 22:07:28 +0200
Newsgroups dbase.getting-started

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 *****
go top
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
go top