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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Haresh
Contributor
Contributor

How to split a filename based on underscore separator

The filenaming convention is setup in such a way A_B_C_D.txt and i would want to split and read the individual parts of the file name and store them in separate fields and load the values into oracle database in such a way column ID has value A(from the file name),table column name has value B and so on separately.

 

eg.file name:Atest_Bhello_Cworld__20200908132211_.std.gz needs to be broken down into as

Atest for column FILENAME,

Bhello-column DESCRIPTION

Cworld-column TEXT

timestamp(20200908132211)-column TIME

How can i do this in talend?

 

I created a workflow with tfilelist-iterate-tIteratetoflow-tLogRow.I am not sure after i read the file name and print it,what is the right way to split them and store in a variable /identifier that can be parsed into the oracle table columns separately?

Labels (2)
0 Replies