vb.net - Can I put parentheses inside a string? -
this question has answer here:
i'm writing script generator in visual studio , i've run across problem. code:
dim text string text = "register.node("play") {(speed = 0, evnt=0,)}"
and string doesn't cover it.. don't know why keeps exiting string? in other languages i've used there no way of exiting string inside.
i suggest either using double quotes...
text = "register.node(""play"") {(speed = 0, evnt=0,)}"
or typing thusly.
text = 'register.node("play") {(speed = 0, evnt=0,)}'
or maybe so.
text = "register.node("+"play"+") {(speed = 0, evnt=0,)}"
Comments
Post a Comment