Convert string to collection

Hi
I have a column that has a cell of string- the cell contents is elemnts of strings eperarted by “,”. How to convert this cells to collection?

Best
Malik

A Cell Splitter node (https://nodepit.com/node/org.knime.base.node.preproc.cellsplit.CellSplitterNodeFactory) - use the ‘,’ as deliminator, and set the output to be ‘as list’

Steve

5 Likes

Hi @Malik -

Have you tried the Create Collection Column node?

3 Likes

I have also try Java Snipet
String st = $out_GeneTargestWithWholeData$;
String str = st.split(",");
return str;

I have also try Java Snipet
String st = $out_GeneTargestWithWholeData$;
String str = st.split(",");
return str;