How to add a dash - in the beginning of each word in same column?

Hi,

 

How to add a dash - in the begining of each word in same column?

 

The column content is like that now:

ABC

CDE

GHS

 

After the dash:

-ABC

-CDE

-GHS

 

Many thanks,

Cadu

The way I do this is to use a rule engine node with default label as -

then use column resorter to position this column before your ABC column.

now use Column Combiner node for these two columns with quotes disabled.

simon.

You can try using the String Manipulation node with an expression like

join("-",$string$)

where $string$ is the name of the column you want to manipulate

I believe String Manipulator's join function has an easier solution:

join("-", $YourCol$)

If you prefer Java Snippet:

return "-" + c_YourC;

Cheers, gabor