CSVfox
Get the job done.
 English

±prepend

Prepends some content to an existing CSV data field (column)

Prepends a value before the beginning of the data field.
The value can be a literal, the contents of another field, or any expression.
For inserting or prepending a whole new field to the data row, use ±add.
 

Pattern

±prepend[FieldName]=AdditionalValue ±prepend[FieldName],[FieldName]...=AdditionalValue


Usage

-prepend[FieldName]=Today:\s
Prepends "Today: " before the contents of the column FieldName .
The \s stands for a whitepace character.
 
-prepend[NetPrice],[GrossPrice]=USD
Prepends the value " USD"  to both fields NetPrice and GrossPrice.
 
-prepend[NetPrice],[GrossPrice]=[Currency]\s
Prepends the content of the field Currency  and then a whitespace to both fields NetPrice and GrossPrice.
 

Example

[Wrong example, must be changed]
If there is a csv file:

ProductProduct Weight
Apple100g
Pear120g
-Prepend["Transport Weight"]={(1,05*["Product Weight"]),3}g
Prepends a new column Transport Weight to the line and fills it with the value of the field Product Weight * 1.05. The output shall be with decimal comma and 3 decimal places.
The quotes are necessary because of the whitespace in the column name.
Now the resulting csv file will look like:
ProductProduct WeightTransport Weight
Apple100g105,000g
Pear120g126,000g

More Examples

Under construction, coming soon