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

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch