merge two fields in tmap and the values of fields shloud me separated by space

Highlighted
Six Stars

merge two fields in tmap and the values of fields shloud me separated by space

Hi All,

i have two fields need to merge in one field

first_name|last_name

xyc,abc.

 

i need it like below

new output in tmap

name = first_name+last_name (separated by space)

 

name

xyc abc


Accepted Solutions
Community Manager

Re: merge two fields in tmap and the values of fields shloud me separated by space

This is pretty straight forward. Assuming your columns are attached to row1, your code would look like this....

 

row1.first_name + " " + row1.last_name
Six Stars

Re: merge two fields in tmap and the values of fields shloud me separated by space

Thanks @rhall_2_0 .. it was very helpfull


All Replies
Community Manager

Re: merge two fields in tmap and the values of fields shloud me separated by space

This is pretty straight forward. Assuming your columns are attached to row1, your code would look like this....

 

row1.first_name + " " + row1.last_name
Six Stars

Re: merge two fields in tmap and the values of fields shloud me separated by space

Thanks @rhall_2_0 .. it was very helpfull

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now