<?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 character matching in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/character-matching/m-p/61204#M17367</link>
    <description>Hi,&lt;BR /&gt;
     In SAS is there a function equivalent to the MID function in excel. I have a column with a 3 character data, in the form of &lt;BR /&gt;
&lt;BR /&gt;
0x0&lt;BR /&gt;
0y0&lt;BR /&gt;
0z0&lt;BR /&gt;
0x1&lt;BR /&gt;
0x2&lt;BR /&gt;
&lt;BR /&gt;
I want to create a new column from this data which contains the middle character&lt;BR /&gt;
In essence the new field should have the following data&lt;BR /&gt;
&lt;BR /&gt;
x&lt;BR /&gt;
y&lt;BR /&gt;
z&lt;BR /&gt;
&lt;BR /&gt;
Is there a way I can do this.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Shri</description>
    <pubDate>Tue, 23 Feb 2010 14:13:53 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-02-23T14:13:53Z</dc:date>
    <item>
      <title>character matching</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/character-matching/m-p/61204#M17367</link>
      <description>Hi,&lt;BR /&gt;
     In SAS is there a function equivalent to the MID function in excel. I have a column with a 3 character data, in the form of &lt;BR /&gt;
&lt;BR /&gt;
0x0&lt;BR /&gt;
0y0&lt;BR /&gt;
0z0&lt;BR /&gt;
0x1&lt;BR /&gt;
0x2&lt;BR /&gt;
&lt;BR /&gt;
I want to create a new column from this data which contains the middle character&lt;BR /&gt;
In essence the new field should have the following data&lt;BR /&gt;
&lt;BR /&gt;
x&lt;BR /&gt;
y&lt;BR /&gt;
z&lt;BR /&gt;
&lt;BR /&gt;
Is there a way I can do this.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Shri</description>
      <pubDate>Tue, 23 Feb 2010 14:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/character-matching/m-p/61204#M17367</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-23T14:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: character matching</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/character-matching/m-p/61205#M17368</link>
      <description>SUBSTR(string, position&amp;lt;,length&amp;gt;)</description>
      <pubDate>Tue, 23 Feb 2010 14:23:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/character-matching/m-p/61205#M17368</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2010-02-23T14:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: character matching</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/character-matching/m-p/61206#M17369</link>
      <description>Thanks that was very helpful</description>
      <pubDate>Wed, 24 Feb 2010 13:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/character-matching/m-p/61206#M17369</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-24T13:54:31Z</dc:date>
    </item>
  </channel>
</rss>

