Hello,
I have a string that comes from Applescript and it has a bunch of / in it.
It looks like this
Script id=\7\ name=\New Script 2\ includeInMenu=\True\
I would like to replace the Backslash Quote string with just Quote. But this
does not work.
put replaceText (theString, backslash quote
Does this work:
Put \ quote into tRep
Replace tRep with quote in tString
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Todd Geist
Sent: Tuesday, October 04, 2005 3:35 AM
To: use-revolution@lists.runrev.com
Subject: ReplaceText and Backslash
Hello,
I
Hello,
I have a string that comes from Applescript and it has a bunch of / in it.
It looks like this
Script id=\7\ name=\New Script 2\ includeInMenu=\True\
I would like to replace the Backslash Quote string with just Quote. But this
does not work.
put replaceText (theString, backslash quote
Script 2\ includeInMenu=\True\
I would like to replace the Backslash Quote string with just Quote.
But this
does not work.
put replaceText (theString, backslash quote, quote)
Best Regards from Paris,
Eric Chatonet.
So Smart
try to escape the backslash first.
put replacetext( fld 1, backslashbackslash quote , quote ) into fld 1
which is not necessary with
replace backslash quote with quote in fld 1
cheers
-=-
Xavier
[EMAIL PROTECTED] wrote on 04/10/2005 09:35:39:
Hello
THANKS! that did it
On 10/4/05 12:50 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
try to escape the backslash first.
put replacetext( fld 1, backslashbackslash quote , quote ) into fld 1
--
Todd Geist
__
g e i s t i n t e r a c t i v e