<?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 Re: Substr help in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Substr-help/m-p/68249#M19546</link>
    <description>thanks! worked a treat!</description>
    <pubDate>Mon, 31 Aug 2009 06:57:33 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-08-31T06:57:33Z</dc:date>
    <item>
      <title>Substr help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Substr-help/m-p/68247#M19544</link>
      <description>I have a list of records of Brief No's in the format xxxxx-yy&lt;BR /&gt;
&lt;BR /&gt;
I wish to keep only the 'x's, however, they are not a standard length, some are 6 characters long, some 5. The 'y's aren't strictly 2 character's either, sometimes one, sometimes 2. &lt;BR /&gt;
&lt;BR /&gt;
The only constant is the hyphen. &lt;BR /&gt;
&lt;BR /&gt;
How can I use the Substr to keep only the part of the string before the hyphen?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance</description>
      <pubDate>Mon, 31 Aug 2009 05:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Substr-help/m-p/68247#M19544</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-31T05:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Substr help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Substr-help/m-p/68248#M19545</link>
      <description>scan(breifNo,1,'-')</description>
      <pubDate>Mon, 31 Aug 2009 06:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Substr-help/m-p/68248#M19545</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-08-31T06:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Substr help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Substr-help/m-p/68249#M19546</link>
      <description>thanks! worked a treat!</description>
      <pubDate>Mon, 31 Aug 2009 06:57:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Substr-help/m-p/68249#M19546</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-31T06:57:33Z</dc:date>
    </item>
  </channel>
</rss>

