<?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 Reading substring from a line in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/reading-substring-from-a-line/m-p/3594736#M103880</link>
    <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;  I have create a C program to read a file line by line, but I am interested in knowing how can I read say from character 10 to 20 of a line? Is there a fast way to do this?&lt;BR /&gt;&lt;BR /&gt;Sadly I can only use C...&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Henry</description>
    <pubDate>Tue, 02 Aug 2005 09:01:42 GMT</pubDate>
    <dc:creator>Henry Chua</dc:creator>
    <dc:date>2005-08-02T09:01:42Z</dc:date>
    <item>
      <title>Reading substring from a line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/reading-substring-from-a-line/m-p/3594736#M103880</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;  I have create a C program to read a file line by line, but I am interested in knowing how can I read say from character 10 to 20 of a line? Is there a fast way to do this?&lt;BR /&gt;&lt;BR /&gt;Sadly I can only use C...&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Henry</description>
      <pubDate>Tue, 02 Aug 2005 09:01:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/reading-substring-from-a-line/m-p/3594736#M103880</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-08-02T09:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reading substring from a line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/reading-substring-from-a-line/m-p/3594737#M103881</link>
      <description>&lt;BR /&gt;#include &lt;UNISTD.H&gt;&lt;BR /&gt;#include &lt;STRING.H&gt;&lt;BR /&gt;char str2[12];&lt;BR /&gt;strcpy (str2, str_org + 10, 10);&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn&lt;/STRING.H&gt;&lt;/UNISTD.H&gt;</description>
      <pubDate>Tue, 02 Aug 2005 09:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/reading-substring-from-a-line/m-p/3594737#M103881</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-08-02T09:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reading substring from a line</title>
      <link>https://community.hpe.com/t5/operating-system-linux/reading-substring-from-a-line/m-p/3594738#M103882</link>
      <description>Hi Henry,&lt;BR /&gt;&lt;BR /&gt;like inthe answer above, read the whole line in your variable and copy the letters you want to another. What are you planning to do? It may be easier to script it.</description>
      <pubDate>Tue, 02 Aug 2005 11:19:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/reading-substring-from-a-line/m-p/3594738#M103882</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2005-08-02T11:19:33Z</dc:date>
    </item>
  </channel>
</rss>

