Using two functions in Expression Builder

Highlighted
Six Stars

Using two functions in Expression Builder

Hi,

 

I need use two or more functions on Expression Builder, How I can insert each function?

 

E.G. The origin row has the next info: "Lazaro Cardenas, LAZARO CARDENAS", I need to standardize this values in "LÁZARO CÁRDENAS", I defined the next sintaxis:

 

StringHandling.EREPLACE(row8.Destino,"Lazaro Cardenas","LÁZARO CÁRENAS")&&StringHandling.EREPLACE(row8.Destino,"LAZARO CARDENAS","LÁZARO CÁRDENAS")

 

This definition is right or I have to change the sintaxis.

 

Regards.

 

 

 


Accepted Solutions
Employee

Re: Using two functions in Expression Builder

Hi,

 

    I could see that you are trying to do name and address standardization of the input records.

 

    Could you please try below components where first name and address standardization details are mentioned in detail?

 

https://help.talend.com/reader/Et4OSW4wGhNm5pjnOjy57g/Lh0j8ra6TpWF1Lvk1xZpKg

 

https://help.talend.com/reader/xf6mu~hOVr7qkWfm3qxfeA/_6VoKCJdgf4MO5ZS0_LGOw

 

    These components will help you to standardize the first name and address.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

View solution in original post


All Replies
Sixteen Stars TRF
Sixteen Stars

Re: Using two functions in Expression Builder

This works:

StringHandling.EREPLACE(row8.Destino.toUpperCase(),"LAZARO CARDENAS","LÁZARO CÁRDENAS")

 


TRF
Employee

Re: Using two functions in Expression Builder

Hi,

 

   Could you please try below option?

 

StringHandling.EREPLACE(StringHandling.EREPLACE(row1.Destino,"LAZARO CARDENAS","LÁZARO CÁRDENAS"),"Lazaro Cardenas","LÁZARO CÁRDENAS") 

If the answer has helped you, please spend a second to mark the topic as answered. Kudos are also welcome :-)

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

Six Stars

Re: Using two functions in Expression Builder

Hi, Nikhil Thampi

First of all, thanks for your help.

Now, with the same case, into the row defines the next values: Queretaro, Mexico, San Luis Potosi, Chihuahua, etc, I need to standardized each value, definition is the same that the example before?

Regards.

Employee

Re: Using two functions in Expression Builder

Hi,

 

    I could see that you are trying to do name and address standardization of the input records.

 

    Could you please try below components where first name and address standardization details are mentioned in detail?

 

https://help.talend.com/reader/Et4OSW4wGhNm5pjnOjy57g/Lh0j8ra6TpWF1Lvk1xZpKg

 

https://help.talend.com/reader/xf6mu~hOVr7qkWfm3qxfeA/_6VoKCJdgf4MO5ZS0_LGOw

 

    These components will help you to standardize the first name and address.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

View solution in original post

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog