<?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: remove Delimiter in sas in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/remove-Delimiter-in-sas/m-p/573946#M12605</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Hi I want after the last Last delimiter text should be extract and replaced _ with Space delimiter in sas&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Assuming that you mean you want to take the last "word" from a delimited string then use the SCAN() function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To replace characters use the TRANSLATE() function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;want=translate(scan(have,-1,'\'),' ','_');&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 16 Jul 2019 17:27:13 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-07-16T17:27:13Z</dc:date>
    <item>
      <title>remove Delimiter in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/remove-Delimiter-in-sas/m-p/573942#M12603</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hi I want after the last Last delimiter text should be extract and replaced _ with Space delimiter in sas&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data ddd;&lt;BR /&gt;format Have $50. Want$50.;&lt;BR /&gt;Have="\core\event\user_login_failed";&lt;BR /&gt;Want=(substr(Have,1,index(Have,"\")+(lengthn("\")-1)));&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have="\core\event\user_login_failed";&lt;BR /&gt;Want=&lt;STRONG&gt;user_login_failed &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;replaced instead of&amp;nbsp;&lt;STRONG&gt;user login failed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 17:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/remove-Delimiter-in-sas/m-p/573942#M12603</guid>
      <dc:creator>sivastat08</dc:creator>
      <dc:date>2019-07-16T17:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: remove Delimiter in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/remove-Delimiter-in-sas/m-p/573946#M12605</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Hi I want after the last Last delimiter text should be extract and replaced _ with Space delimiter in sas&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Assuming that you mean you want to take the last "word" from a delimited string then use the SCAN() function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To replace characters use the TRANSLATE() function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;want=translate(scan(have,-1,'\'),' ','_');&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Jul 2019 17:27:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/remove-Delimiter-in-sas/m-p/573946#M12605</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-07-16T17:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: remove Delimiter in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/remove-Delimiter-in-sas/m-p/574094#M12647</link>
      <description>&lt;P&gt;Thank you very much Tom!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 08:49:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/remove-Delimiter-in-sas/m-p/574094#M12647</guid>
      <dc:creator>sivastat08</dc:creator>
      <dc:date>2019-07-17T08:49:11Z</dc:date>
    </item>
  </channel>
</rss>

