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

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
Highlighted
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
Highlighted
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 Spring ’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

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download