I have here a sample data where I want to put the city on a separate column. The city can be defined after the comma sign. How can I do this with talend. What component should I use?
Here's the sample data. On the left side is my input and the right should be the right output.
You can use split function in tMap. use below code in city column just change dwetl address field with your actual column name.
!Relational.ISNULL(row7.dwetl_Address)?row7.dwetl_Address.split(",")[1]:"default City"