Put parantheses for an element


#1

Hi all,

I am searching for something easy. I have a column that includes numbers 12,32, 156.
I want to put all the numbers in this column into brackets. Therefore, I used a rule engine
and created a new column TRUE=>"(replacewithnumber)".
How now I can replace the replacewithnumber with the numbers from the the other column?
I tried replace from string manipulation but it does not work for me.
in Other words, I want to use one string to replace a part of another string.


#2

aaa, I found it, it is a string manipulation, regex replace.
it worked for me.


#3

Hi @11atzitzi,

The easiest way to do what you want is to use just the String Manipulation node with the following expression:

join("{", string($Your_Column$), “}”)

Best,
Anna