Replace Quotes with Escaped Quotes in String

Peter TB Brett peter.brett at livecode.com
Sun Dec 13 15:28:06 EST 2015


On 2015-12-13 21:01, Brahmanathaswami wrote:
> I'm trying out doing all dev now in 8 dp*  since I have no immediate
> production projects that require deployment. So far so good, though I
> miss BV2 documentation... (which seems to hang the app if I leave it
> in my plug-ins folder)  and LCBrowser (also seems to be troublesome.)
> 
> I'm trying to pass text to a variable with the quotes escaped so that
> they will be retained in a shell call to mail using echo, actually
> this is inside a linux 7.0.1 LC server cgi script:

Have you tried just using single quotes: '...'?

                                  Peter

-- 
Dr Peter Brett <peter.brett at livecode.com>
LiveCode Open Source Team

LiveCode on reddit! <https://reddit.com/r/livecode>




More information about the use-livecode mailing list