in reply to Error in the example code
in thread split and join

first store the length of array by using count variable and then exclude the last element of array... is this a good idea...?