I would like use | as a delimiter to split the cells from right to left, but I can not find how to process this.
e.g.
Original data:
Description
ABC | SAE | 88964 SE
ABC | CAE |SAE | 88965 SA
ABC | CAC |SAE | SEE | 88966 SA
Desired result:
Description
ABC | SAE
ABC | CAE |SAE
ABC | CAC |SAE | SEE
Description_split
88964 SE
88965 SA
88966 SA
HansS
October 8, 2021, 7:35am
2
Hi @LanceHsu
Welcome to KNIME Forum. See this wf reverse.knwf (18.7 KB). It uses the reverse function in the String Manipulation node twice…
gr. Hans
5 Likes
tommy
October 8, 2021, 7:45am
3
hi @LanceHsu and Welcome,
I case you wanna split all parts separated by “|”, go for @HansS solution.
In case you just want to separate the last part, I would use substr in String manipulation.
See here…
Z_035_column split.knwf (7.9 KB)
greetz, Tommy
4 Likes
Thank you, it it workable.
1 Like
Thanks and it really helps me.
2 Likes
system
Closed
October 15, 2021, 8:45am
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.