tinderlove
(Frederick Hirsch)
1
a newbie question.
How do I get a double quote as part of a string value?
var:string testString="\\"a quote\\"";
doesn’t work.
I’d expect to see it evaluate to be
“a quote”
what is the best practice to enclose double quotes within a string value? I couldn’t figure this out using atbref
(I think in my post I’m using the curly quotes but in the stamp I’m not)
thanks, Frederick
brookter
(David Bertenshaw)
2
I think the normal method is to nest single and double quotes:
$Name = ' "Name with quotes" '
(I’ve used spaces between to make it clear here, but obviously, they’re not needed really.)
2 Likes
tinderlove
(Frederick Hirsch)
3
David
Right you are! I thought I tried that before, must have been a mistake in my action code. Works fine in a simple stamp.
thanks!
1 Like