Skip to main content
Question

Can FME split attributes AND keep the delimiter?

  • January 6, 2021
  • 1 reply
  • 47 views

rva1
Contributor
Forum|alt.badge.img+1
  • Contributor

hi!

 

I have a very large text file which i would like to split. I tried using attributesplitter, but this transformer deletes delimiter. I want to keep it;)

I also tried stringreplacing the delimiter by adding a new delimiter. Like this: <OLD DELIMITER> changed in <OLD DELIMITER><NEW DELIMITER). When splitting using <NEW DELIMITER> i can keep the old one... BUT... this proces is very very slow, since i have millions of delimiters. Also using old delimiter, then losing it, and then adding it back in again, takes ages...

 

any idea's??? prolly there is a python trick. But i'm a complete noob;)

 

thanks and cheers,

ronald

1 reply

rva1
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • January 6, 2021

ahh... just found a solution to missing delimiter... with listconcatenator i can add separator character;))

I'm very much still interested in using splitter which keeps the delimiter...


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