Forum Discussion
Hi @SL12345,
If you want to do this with expression then try this:
$content.split("\n").map(row => {row: row, lengthValuse:row.split(';')[8].split(',').length })
Regards,
Viktor N.
- cjhoward185 years agoEmployee
This expression in a Mapper snap:
$Items.Item.map(value => value.mapKeys((value, key) => "WM_" + key))
will add the ‘WM_’ prefix to the keys for each item in this Item list.
Having it mapped to the target
Items.Item
will replace the old value with your desired output. - SpiroTaleski5 years agoValued Contributor
Hi @sjakathi
Please check the attached sample pipeline:
SL_Community_2021_02_02.slp (3.6 KB)
Hope this will help.
Regards,
Spiro Taleski