numchars = varName.chars.count
  repeat with eachchar = numchars down to 1
    if varname.char[eachchar] = QUOTE then
      delete char eachchar of varname
    end if
  end repeat

something like that.

(you have to loop backwards, because if you don't, when you delete
characters, you'll mess up the count and position and end up skipping some.

--bhakti





Jayp wrote:
> 
> Hi
> How can I tell if there is a QUOTE in my variable an delete it
> 
> Theres a quote in my LIST and its making the list NOT work properly
> 
> Ie.     "From: "Jayp" <[EMAIL PROTECTED]>"
> 
> See the quotes around JAYP
> I need to get rid of them
> 
> Please help
> 
> Jayp
> 
> [To remove yourself from this list, or to change to digest mode, go to 
>http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
>[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
>learning and helping with programming Lingo.  Thanks!]
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to