<?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 SAS programming in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667562#M199930</link>
    <description>&lt;P&gt;I want to create a new variable(CC_new)&amp;nbsp; from a Chief Complaint variable (CC). The CC variable has&amp;nbsp; some observations with multiple Chief Complaints separated by a semicolon e.g. Headache;fever;sore throat. However, I only need the first Chief Complaint to create the CC_new variable.&lt;/P&gt;
&lt;P&gt;Please, I need help with this.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 20:05:37 GMT</pubDate>
    <dc:creator>UcheOkoro</dc:creator>
    <dc:date>2020-07-07T20:05:37Z</dc:date>
    <item>
      <title>SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667562#M199930</link>
      <description>&lt;P&gt;I want to create a new variable(CC_new)&amp;nbsp; from a Chief Complaint variable (CC). The CC variable has&amp;nbsp; some observations with multiple Chief Complaints separated by a semicolon e.g. Headache;fever;sore throat. However, I only need the first Chief Complaint to create the CC_new variable.&lt;/P&gt;
&lt;P&gt;Please, I need help with this.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 20:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667562#M199930</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2020-07-07T20:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667566#M199932</link>
      <description>&lt;P&gt;Is that what you are looking for?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;cc_new = scan(cc,1,',');&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jul 2020 20:15:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667566#M199932</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-07-07T20:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667567#M199933</link>
      <description>&lt;P&gt;Thank you for your response. I tried the following but it did not help.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Permanent_data3;
set Permanent_data;
cc_new = scan(cc,1,',');run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jul 2020 20:21:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667567#M199933</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2020-07-07T20:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667571#M199934</link>
      <description>Semicolon is your delimiter, right? If so, use:&lt;BR /&gt;cc_new=scan(cc,1,';');</description>
      <pubDate>Tue, 07 Jul 2020 20:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667571#M199934</guid>
      <dc:creator>ketpt42</dc:creator>
      <dc:date>2020-07-07T20:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667572#M199935</link>
      <description>&lt;P&gt;It worked. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 20:32:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming/m-p/667572#M199935</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2020-07-07T20:32:27Z</dc:date>
    </item>
  </channel>
</rss>

