Hi,
Indeed, I'm sorry it appeared I didn't fully understood your issue.
I tried this code, to catch me a "string".
i used var_start and var_end insteadof low and high and the dimension "year" as values
var array = DS_1.getMembers("Year",20);
var check = 0;
var string = var_start;
if (var_end != ""){
array.forEach(function(element, index) {
if (element.text == var_start){
check = 1;
}else{
if (element.text !=var_end && check == 1){
string = string + ";" + element.text;
}else{
if (element.text == var_end && check == 1){
string = string + ";" + element.text;
check = 0;
}
}
}
});
}