Board index » javascript » Verbatim string assignment in JavaScript

Verbatim string assignment in JavaScript

2006-03-24 01:42:04 AM
Hello,
Is there a way to do a verbatim string assignment in JavaScript.
Like I could create strings with HTML snippets and reuse in my code.
Thanks in advance
O
-
 

Re:Verbatim string assignment in JavaScript

JRS: In article <1143135723.927604.151160@t31g2000cwb.googlegroups.com>,
dated Thu, 23 Mar 2006 09:42:04 remote, seen in news:comp.lang.javascript,
oza.hardik@gmail.com posted :
Quote
Is there a way to do a verbatim string assignment in JavaScript.
Like I could create strings with HTML snippets and reuse in my code.
Yes.
<URL:www.merlyn.demon.co.uk/js-quick.htm>Demo Demo Demo Demo Eval
--
?John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ?
<URL:www.jibbering.com/faq/>JL/RC: FAQ of news:comp.lang.javascript
<URL:www.merlyn.demon.co.uk/js-index.htm>jscr maths, dates, sources.
<URL:www.merlyn.demon.co.uk/>TP/BP/Delphi/jscr/&c, FAQ items, links.
-