Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
JABELLA1634831127
Contributor III
Contributor III

How to replace all strings in a column with a string of specific length using tmap component

Say I want to replace all values in a column with a value of specific length in that column. 0695b00000KBvHuAAL.png

For this input column I only want my output to have "ABCDEFGHIJKL" for one column. How do I do this?

Labels (2)
12 Replies
JABELLA1634831127
Contributor III
Contributor III
Author

Thank you so much!

JABELLA1634831127
Contributor III
Contributor III
Author

Sorry am still a newbie at talend. Do I still do this code: if(input_row.(yourfield)!=null && StringHandling.LEN

(input_row.(yourfield))==(your lengh value)

globalMap.put("SEIN",input_row.(yourfield));

 

 

 

And how can I put a filter condition or do this:

("SEIN").equals(row2.A)

and in SEIN column value row2.B.?

JABELLA1634831127
Contributor III
Contributor III
Author

Hi so I was able to input a t_java_row but when I ran the job, the output would only show the column header SEIN. Attached are pictures for reference.0695b00000KC34UAAT.png0695b00000KC34ZAAT.png0695b00000KC34eAAD.png