Replace space bar with comma in a sentence or adding comma after every word

I am new to the knime and not so familiar with the nodes however, I was trying to sort this on my own. I want to add a comma after every word in the description column which I was trying to do with the help of string manipulation but I didn’t get success in it. Can anyone help me in sorting this out? It would be very helpful.

Here is the dataset
KNIME_project6.knwf (18.9 KB)

Hello @anjeesanjeet ,

using Sting manipulation, you could use formula

replace(yourColumn, " ", ", ")

(substitution of space char with comma+space)

Maybe before this, make sure you get rid of punctuation characters (see this and similar posts).

Hope it helps.

Have a nice day,

1 Like

Thank you @lelloba. It works!!


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