<?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 keep everything to the right of the first hyphen in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/keep-everything-to-the-right-of-the-first-hyphen/m-p/425084#M104692</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how can I use scan or subtr to keep everything to the right of the first hyphen?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var_have&lt;/P&gt;
&lt;P&gt;2 - Some-what&lt;/P&gt;
&lt;P&gt;4 - Very much&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var_want&lt;/P&gt;
&lt;P&gt;Some-what&lt;/P&gt;
&lt;P&gt;Very much&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2018 22:49:55 GMT</pubDate>
    <dc:creator>jenim514</dc:creator>
    <dc:date>2018-01-04T22:49:55Z</dc:date>
    <item>
      <title>keep everything to the right of the first hyphen</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-everything-to-the-right-of-the-first-hyphen/m-p/425084#M104692</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how can I use scan or subtr to keep everything to the right of the first hyphen?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var_have&lt;/P&gt;
&lt;P&gt;2 - Some-what&lt;/P&gt;
&lt;P&gt;4 - Very much&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var_want&lt;/P&gt;
&lt;P&gt;Some-what&lt;/P&gt;
&lt;P&gt;Very much&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 22:49:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-everything-to-the-right-of-the-first-hyphen/m-p/425084#M104692</guid>
      <dc:creator>jenim514</dc:creator>
      <dc:date>2018-01-04T22:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: keep everything to the right of the first hyphen</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keep-everything-to-the-right-of-the-first-hyphen/m-p/425087#M104693</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;want_var=substr(var, index(var,'-')+1);&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 22:53:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keep-everything-to-the-right-of-the-first-hyphen/m-p/425087#M104693</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-01-04T22:53:42Z</dc:date>
    </item>
  </channel>
</rss>

