<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Text file reading' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Text file reading' posted on the '.NET General' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 17:02:49 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 17:02:49 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Text file reading</title>
      <link>http://www.programmersheaven.com/mb/dotnet/425192/425192/text-file-reading/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have one text file having the data in the below format&lt;br /&gt;
&lt;br /&gt;
AA| 12&lt;br /&gt;
BB | 15&lt;br /&gt;
CC| 10&lt;br /&gt;
AA|20 &lt;br /&gt;
...&lt;br /&gt;
...&lt;br /&gt;
...&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
in this format first value(AA) is some name and second value (12) is count . so in my requirement i want to read that text file and want to check with the first column in the first line with all other lines in the first column ,if any match is found then the count of the first column shouuld be added to the match column's count.i.e. &lt;br /&gt;
AA in first line value is matched with fourth line first column then count of the second column in the first line will be 32 (12 +20).&lt;br /&gt;
&lt;br /&gt;
please help me out for the solution,.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/dotnet/425192/425192/text-file-reading/</guid>
      <pubDate>Mon, 10 Oct 2011 01:54:53 -0700</pubDate>
      <category>.NET General</category>
    </item>
  </channel>
</rss>