Replace Quotes with Escaped Quotes in String

Brahmanathaswami brahma at hindu.org
Sat Dec 19 15:09:22 EST 2015


for closure on this

This works;

if tVisitorsInfo is empty then exit to top
         put getAddresses() into tAddresses
         put tVisitorsInfo into tBody
replace quote with backslash & quote in tContainer
         put ("echo " &  quote & tBody & quote & " | ") into tCmd
         put format ("mail -s \"Visitor Care Notice\" -r 
\"No-Reply at hindu.org\" " & tAddresses) after tCmd
         get shell(tCmd)

BR



Peter TB Brett wrote:
>
> replace quote with backslash & quote in tContainer 




More information about the use-livecode mailing list