Skip to main content
Question

add new empty line in text file specific location

  • Jul 3, 2018 9:17 AM UTC
  • 5 replies
  • 112 views

Forum|alt.badge.img

Hi,

Trying to figure out how to add an empty line (commas are fine) into a file at specific locations

here is an example i need:

10-1110011-1220012-1310013-14400

Any thoughts?

Regards

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

takashi
Celebrity
  • Jul 3, 2018 10:25 AM UTC
What is the criteria to determine where an empty line should be added?

 


Forum|alt.badge.img
  • Author
  • Jul 3, 2018 11:19 AM UTC
What is the criteria to determine where an empty line should be added?

 

 

the above example is time based so where it moves from AM to PM a break in the data for easy readability is required.

 

 

Thanks

 


takashi
Celebrity
  • Jul 3, 2018 1:16 PM UTC

Hi @fme_it, there should be several ways. Just an example.

Set the runtime order at the Passed port appropriately (first to AttibuteCreator, second to Junction).


Forum|alt.badge.img
  • Author
  • Jul 3, 2018 6:04 PM UTC

Hi,

Thanks for the suggestion. It almost works, occasionally it comes out before the line but only once or twice.

Regards


takashi
Celebrity
  • Jul 3, 2018 10:39 PM UTC

Hi,

Thanks for the suggestion. It almost works, occasionally it comes out before the line but only once or twice.

Regards

I think that the workflow inserts an empty line before every text that starts with "12". Wasn't it what you needed?