Placeing a variable inside string

"
(function executeRule(current, previous /null when async/ ) {
try {
var r = new sn_ws.RESTMessageV2();
r.setEndpoint*(name)*;
r.setHttpMethod(HttpMethod);
"

Hi @Allan_Zimmermann . how can i pass a variable inside a string. i need pass name as variable

you can concat strings in vb using & sign
so "the cat " & "jumped" & " over the fence" become "the cat jumped over the fence" if you have “jumped” in a variable called “action” you can then use "the cat " & action & " over the fence" to get same result

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.