Split the array that contains one string

I have a field "umi_app.keyword" as string but i need to convert to two variables/objects/arrays to be able to add another string to each one (_Critical). The part of the script looks like this

 '+doc['umi_app.keyword']+'_Critical

This umi_app.keyword inside has a string [name1,name2]. In the end I would like to receive something like this name1_Critical, name2_Critical. Right now I am getting name1,name2_Critical.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.