Storing multiple values with separator in one variable

Hi Team,

We have developed a process, where we have to split the data from a variable. We have used split function by assigning argument to an array. It’s working fine also. But after some processing, we want to filter the values and store those split values again in a variable with separator. The logic may lead to insert/add into a array. Please help to find the solution.

Thanks & Regards,
Sneha.