Skip to Content

Convert.subString for multiple values in list

Hi all,
My requirement is to pass the selected values from the dimension filter to a webi report. but the substring of the selected values.

Ex. user selected values from the dimension filter are 123/345; 234/567,9088/123.
I must pass the values after slash-345;567;123

i am writing the below code to capture the values entered. and then finding the index of "/". then get the substring based on the index of the slash.

var Costcenter=DS_1.getFilterExt("0COSTCENTER");
var len =0;

len= Costcenter.indexOf("/");

Costcenter_1=Convert.subString(Costcenter, len+1);
However it is returning only the first value in the list.but not all.

how can i get all the values(value after slash for all the selected values)?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers