Hi Bruno.
ogScript uses JavaScript under the hood so you have access to the full set of string split/join/trim/compare functions you would have access to for JavaScript.
To split a string into an array based on a comma, you would use:
`
var myArray = myString.split(',');
`
You could then iterate over that array to do whatever you want.
`
var myArray = params.getValue('String', 0).split(',');
for (var i = 0; i < myArray.length; i++)
{
ogscript.debug('[' + i + ']: ' + myArray[i]);
}
`
To learn more about the string functions you have access to, I recommend checking out w3Schools.
w3Schools String Reference
#DashBoard