Forum Discussion
rraghvani
2 years agoChampion Level 3
I was not aware that those were array values, as you did not mention it. However, you will need to construct a string like so,
function test10()
{
var L = [1, 2, 3];
var U2 = ["A", "B", "C"];
var str =
"S2F33_DefineReport_Job: 'S2F33' W" +
"<" + L[2] +
"<" + U2[1] + "1> /* DATAID */";
Log.Message(str); // Output string to see if format is correct
}
See https://stackoverflow.com/questions/7975005/format-a-javascript-string-using-placeholders-and-an-object-of-substitutions for substitutions values.
Related Content
- 6 years ago
- 6 years ago
- 9 years ago
Recent Discussions
- 6 days ago
- 6 days ago
- 9 days ago