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: Remove "CR" (new line) in text file
Topic Summary:
Created On: 03/12/2012 03:18 AM
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.
 03/12/2012 03:18 AM
User is offline View Users Profile Print this message

Author Icon
RobertCox
Apprentice (20-49)

Posts: 41
Joined: 06/29/2005

Hi

I need to convert a text file into a CSV file. Using AM find/replace I can manage some of this however I cannot remove the 'hidden' new line (CR)...

My original file sample looks like this;

line1:=Mr
line2:=Stephen
line3:=Wakley
line4:=To13 9xh
line5:=
line6:=12 Halyard Close
line7:=
line8:=Gosport
line9:=02392523668

I need to make it into a single string as per this;

line1:Mr,line2:Stephen,line3:Wakley,line4:To13 9xh,line5:,line6:12,alyard Close,line7:,line8:Gosport,line9:02392523668

My real file will be 38 lines long.

Thanks



 Category Survey
AutoMate 6 version: 6.0.0
Windows version: Windows Vista


Edited: 03/12/2012 at 05:14 AM by RobertCox
 03/12/2012 05:31 AM
User is offline View Users Profile Print this message

Author Icon
JeanDelfosse
Supreme Guru (1000+)

Posts: 8883
Joined: 03/30/2005

Robert, would this do it ?

 Category Survey
AutoMate 6 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)


-------------------------
Jean Delfosse - Automate Beta Tester
Win7 Pro 64 bits -Win XP Pro SP3 32 bits - AM8, AM7, BPA10, BPA9, BPA8, BPA7, AM6 Enterprise, AM4
 03/15/2012 02:04 AM
User is offline View Users Profile Print this message

Author Icon
RobertCox
Apprentice (20-49)

Posts: 41
Joined: 06/29/2005

Hi Jean

Thank you!

Rob

 Category Survey
AutoMate 6 version: 6.0.0
Windows version: Windows Vista
 03/15/2012 04:54 AM
User is offline View Users Profile Print this message

Author Icon
JeanDelfosse
Supreme Guru (1000+)

Posts: 8883
Joined: 03/30/2005

You're welcome, Rob

 Category Survey
AutoMate 6 version:
Windows version:


-------------------------
Jean Delfosse - Automate Beta Tester
Win7 Pro 64 bits -Win XP Pro SP3 32 bits - AM8, AM7, BPA10, BPA9, BPA8, BPA7, AM6 Enterprise, AM4
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 1974 guests browsing this forum, which makes a total of 1974 users using this forum.

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

Sitemap Network Automation Software Blog