Skip to main content
Question

split csv from a line including a specified text


Hi

Could you tell me the procedure to split csv from a line including a specified text.

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+42
  • Evangelist
  • March 6, 2020

Hi @bigapplerizzi19

Did you try to use the custom transform RegxAttributeSplitter?

 

Thanks in Advance,

Danilo


danilo_fme wrote:

Hi @bigapplerizzi19

Did you try to use the custom transform RegxAttributeSplitter?

 

Thanks in Advance,

Danilo

Hi Danilo,

Thank you for your reply.

I just tried RegxAttributeSplitter.

However it cannot split the csv file at the line containing the specified character.

 

Best Regard,

Tom


takashi
Supporter
  • March 6, 2020

Could you please post a concrete example? If you could post an original line (before splitting) and your desired result (after splitting), it would help us understand your requirement correctly.


antoine
Contributor
Forum|alt.badge.img+5
  • Contributor
  • March 6, 2020

Hi,

Maybe I misunderstood "split csv from a line including a specified text " but maybe you could read your file as a Text file with "Read whole file at once" to "yes". Then you can split it to 2 attributes with attributeSplitter, explode the list and write to two text files.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings