Extract City Name in Talend -


i have here sample data want put city on separate column. city can defined after comma sign. how can talend. component should use?

here's sample data. on left side input , right should right output.

enter image description here

you can use split function in tmap. use below code in city column change dwetl address field actual column name.

!relational.isnull(row7.dwetl_address)?row7.dwetl_address.split(",")[1]:"default city" 

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -