Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Deleting blank lines after appending several txt files
Topic Summary:
Created On: 06/24/2015 12:56 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 06/24/2015 12:56 PM
User is offline View Users Profile Print this message

Author Icon
GeorgePerez
n00b (>6 posts)

Posts: 1
Joined: 06/03/2015

To whom it may concern:

I am trying to delete blank lines that appear after appending multiple text files into an additional text file.   Also, I am receiving mutiple headers after the append.  How can I just keep the first header?

Thank you in advance.

George 



 Category Survey
AutoMate BPA Server 9 version:
Windows version:



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)
 06/25/2015 11:00 AM
User is offline View Users Profile Print this message

Author Icon
Alex Escalante
HelpSystems

Posts: 871
Joined: 02/26/2014

Hello George,

You can use the "trim text" action to eliminate the extra carriage returns. I am attaching a small example of how this can be accomplished using the "trim text" action.

The same concept will apply to the headers, you can trim text to look for the headers and eliminate them.

 Category Survey



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------

Alex Escalante | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1911 guests browsing this forum, which makes a total of 1911 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog