Assuming checkdates is required, the following result was found.
",","); // // convert string to a list l_GeneratedList = v_GeneratedList.toList(); // // initialize my list to populate l_CheckDates = List(); // // loop through generated list and add dates for each index v_Index in l_GeneratedList { if(v_Index>0) {...