Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Escape Text in PL/SQL

Escape Text in PL/SQL

From: <robert.bowen_at_mubimedia.com>
Date: Sat, 12 Jun 1999 15:48:12 GMT
Message-ID: <7jtvfq$c59$1@nnrp1.deja.com>


I know you can do an ESCAPE 'text' in SQL but how can you escape text in PL/SQL? For example, when I print my page via htp.p, I want to do the following:

htp.p('text<a href="javascript:func(\'' || variable || '\')"> text ');

As you see, I need the parameter passed to my javascript function to be inside quotes. But the "\" I use does not work. Is this possible?

Thanks in advance.
syg

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Sat Jun 12 1999 - 10:48:12 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US