This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

escaping variables

Old posts that have not been replied to for several years.
Locked
t
tcl-idiot

Post by tcl-idiot »

how do i escape " ' / in the value of a variable ?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Code: Select all

set var1 "hello to you mr "ppslim""
set var2 "look at my fancy "
set var3 "No need for escaping 'this' one"
set var4 "nor this one/"
Note, you will need to add a backslash before the " in var1, and before the backslash in var2.

This board isn't the best at parsing incoming text.

<font size=-1>[ This Message was edited by: ppslim on 2002-05-23 05:03 ]</font>
Locked