Page 1 of 1

Escaping the "/" character...

Posted: Mon Apr 21, 2008 3:29 am
by drbob001
I've been going through the documentation and on-line forums for about 2 hours now and haven't been able to locate the answer to this question:

Using replace, I'm trying to kill off some HTML code in a captured document, like this:

replace "</td></tr><tr><td><a href="errorlist.cgi?call=" with return in field "Eatery2"

Of course, this returns an error -- but I haven't been able to locate the syntax information to escape the "/" and " character in the find routine.

Your direction would be appreciated.

Bob

Posted: Mon Apr 21, 2008 4:10 am
by FourthWorld
quote is the keyword:

replace "</td></tr><tr><td><a href="&quote&errorlist.cgi?call=" with return in field "Eatery2"

Tried that...

Posted: Mon Apr 21, 2008 7:29 am
by drbob001
I was under the impression that the "/" needed to be escaped - am I incorrect in that assumption? Thanks for the come-back.

Bob

Re: Tried that...

Posted: Mon Apr 21, 2008 5:24 pm
by FourthWorld
drbob001 wrote:I was under the impression that the "/" needed to be escaped - am I incorrect in that assumption?
Not unless you're using it as a delimiter. Within a quoted string as you have it it should be fine.