Does this work for you ?

on mouseUp
   put fld 1 into temp
   replace quote with "/" in temp
   put temp into fld 2
end mouseUp




> Date: Mon, 14 Dec 2015 05:50:17 -1000
> From: [email protected]
> To: [email protected]
> Subject: Re: Replace Quotes  with Escaped Quotes in String
> 
> Are single quotes and double quotes equivalent in Livecode?
> 
> that would be new, i don't think soS
> 
> Single quotes do not work
> 
> *command*escapeQuotes*
> *
> 
> *put*fld"input"intojai
> *replace*'" ' with ' \" ' injai
> *put*jai intofld"target"
> 
> *end* escapeQuotes
> 
> gets us a script error
> 
> 
> BR
> 
> Peter TB Brett wrote:
> > Have you tried just using single quotes: '...'?
> >
> >                                  Peter 
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
                                          
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to