Split code working like a charm tested !
{
"Name": "Split_Function",
"CreationDate": "2019-10-26",
"Commands": [
{
"Command": "store",
"Target": "11111-22222",
"Value": "Col"
},
{
"Command": "executeScript_Sandbox",
"Target": "return ${Col}.split(\"-\")[0].trim();",
"Value": "First_Part"
},
{
"Command": "echo",
"Target": "${First_Part}",
"Value": ""
},
{
"Command": "executeScript_Sandbox",
"Target": "return ${Col}.split(\"-\")[1].trim();",
"Value": "Second_Part"
},
{
"Command": "echo",
"Target": "${Second_Part}",
"Value": ""
}
]
}