<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Deleting empty rows in Notepad in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Deleting-empty-rows-in-Notepad/m-p/65565#M18170</link>
    <description>I have few empty rows in the notepad and the rows count will be close to 5000. I need to have a notepad file removing the empty rows. Please suggest me the best approach to remove the empty rows from the Notepad file

&amp;nbsp;

Thanks,

Siva Teja</description>
    <pubDate>Wed, 12 Dec 2018 15:49:00 GMT</pubDate>
    <dc:creator>SIVA_TEJA_YADAV</dc:creator>
    <dc:date>2018-12-12T15:49:00Z</dc:date>
    <item>
      <title>Deleting empty rows in Notepad</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Deleting-empty-rows-in-Notepad/m-p/65565#M18170</link>
      <description>I have few empty rows in the notepad and the rows count will be close to 5000. I need to have a notepad file removing the empty rows. Please suggest me the best approach to remove the empty rows from the Notepad file

&amp;nbsp;

Thanks,

Siva Teja</description>
      <pubDate>Wed, 12 Dec 2018 15:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Deleting-empty-rows-in-Notepad/m-p/65565#M18170</guid>
      <dc:creator>SIVA_TEJA_YADAV</dc:creator>
      <dc:date>2018-12-12T15:49:00Z</dc:date>
    </item>
    <item>
      <title>Hi Siva,
Not sure if there's…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Deleting-empty-rows-in-Notepad/m-p/65566#M18171</link>
      <description>Hi Siva,
Not sure if there's an easier way, but the below works and it's fast.
&amp;nbsp;
Step 1: File Management VBO - Read All Text from File
Step 2: Decision stage checking this:&amp;nbsp;InStr([Text],NewLine() &amp;amp; NewLine())&amp;gt;0
Step 3a: If Decision is True/Yes, replace the double NewLine characters with a single NewLine character set using this:&amp;nbsp;Replace([Text],NewLine() &amp;amp; NewLine(),NewLine())
Step 3b: Loop back to the Decision stage
Step 4: lf Decision is False/No, use File Management VBO - Write Text File to put the data back in the file without empty rows.
&amp;nbsp;
I tested this just now with 10k rows just in case.
Dave</description>
      <pubDate>Thu, 13 Dec 2018 07:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Deleting-empty-rows-in-Notepad/m-p/65566#M18171</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2018-12-13T07:53:00Z</dc:date>
    </item>
    <item>
      <title>You can also use the String…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Deleting-empty-rows-in-Notepad/m-p/65567#M18172</link>
      <description>You can also use the String.Replace method in C#, using escape characters for your blank lines.
&lt;A href="https://docs.microsoft.com/en-us/dotnet/api/system.string.replace?view=…" target="test_blank"&gt;https://docs.microsoft.com/en-us/dotnet/api/system.string.replace?view=…&lt;/A&gt;</description>
      <pubDate>Tue, 08 Jan 2019 02:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Deleting-empty-rows-in-Notepad/m-p/65567#M18172</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-01-08T02:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Deleting empty rows in Notepad</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Deleting-empty-rows-in-Notepad/m-p/65568#M18173</link>
      <description>Hi, &lt;BR /&gt;If it is a csv file, I woul read it as a collection ( File Management VBO -&amp;gt; Get csv text as collection )&amp;nbsp; and use collection manipulation VBO to remove all blank rows.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;HEMA CHANDRA RAO SIDDANI&lt;BR /&gt;RPA solution consultant&lt;BR /&gt;Amesto Account House&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 24 May 2019 08:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Deleting-empty-rows-in-Notepad/m-p/65568#M18173</guid>
      <dc:creator>Hemachanderrao</dc:creator>
      <dc:date>2019-05-24T08:00:00Z</dc:date>
    </item>
  </channel>
</rss>

