Hi Everyone,
Can anyone please help me how to split values, for example if input is 102-105; 109-111 then output should be 102, 103, 104, 105, 109, 110, 111.
Discussion posts and replies are publicly visible
a!localVariables( local!input:"102-105; 109-111", local!values:split(local!input,";"), local!seperateValues:a!forEach( items: local!values, expression: tointeger(split(fv!item,"-")) ), a!flatten( a!forEach( items: local!seperateValues, expression: fv!item[1] + enumerate(fv!item[2]+1-fv!item[1]) ) ))