Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tReplace not removing comma in Talend workflow

I have a workflow which i am using to remove comma sign , from the data. However its is not working. I tried un-checking "Whole word" field too, but to no avail.

0683p000009Lu1x.jpg

Labels (2)
15 Replies
TRF
Champion II
Champion II

It works for me.
Did you change the tFileInputFullRow schema?
vboppudi
Partner - Creator III
Partner - Creator III

0683p000009LuGv.png

 

Used data provided by you. 

 

Logic in tReplace is

0683p000009LuPb.png

 

Regards,

Anonymous
Not applicable
Author

0683p000009LuPg.png0683p000009LuPl.png0683p000009LuEK.png

 

The tReplace should work , have you tried unchecking the whole word?

 

 

Anonymous
Not applicable
Author

yes it worked. However, if there are 2 columns, it gives issues.

 

 

Anonymous
Not applicable
Author

Hi,

If I have multiple condition to replace like below :-

 

A|B should be A,B

A B should be A_B

I gave condition like below :-

row1.latest_file_col_list("|",",") ||

row1.latest_file_col_list(" ","_") 


@Enthusiast wrote:

yes it worked. However, if there are 2 columns, it gives issues.

 

 


 

It is giving me syntax error. Please suggest.


@Enthusiast wrote:

yes it worked. However, if there are 2 columns, it gives issues.

 

 


 

 

Anonymous
Not applicable
Author

forgot to add :-

 

row1.latest_file_col_list("|",",") ||

row1.latest_file_col_list(" ","_") 

 

 

still not working