<?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: How to replace date within a string in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-replace-date-within-a-string/m-p/213795#M52722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if you have actually tried the below code with tranwrd function. This is working, please check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;length x $200.;&lt;/P&gt;&lt;P&gt;x="the enddate of employee1 is 15/10/2012";&lt;/P&gt;&lt;P&gt;x1 = tranwrd(x,"15/10/2012"," ");&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2015 14:50:41 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2015-04-01T14:50:41Z</dc:date>
    <item>
      <title>How to replace date within a string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-replace-date-within-a-string/m-p/213793#M52720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to replace value in a string - "the enddate of employee1 is 15/10/2012" to "the enddate of employee1 is". I am using tranwrd function as x1 = (x,"15/10/2012"," ");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't seem to be working. Any advise?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 01:34:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-replace-date-within-a-string/m-p/213793#M52720</guid>
      <dc:creator>sachink</dc:creator>
      <dc:date>2015-04-01T01:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace date within a string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-replace-date-within-a-string/m-p/213794#M52721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;a="the enddate of employee1 is 15/10/2012";&lt;/P&gt;&lt;P&gt;b=prxchange('s/\d+\/\d+\/\d+//',-1,a);&lt;/P&gt;&lt;P&gt;put a= b=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 13:50:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-replace-date-within-a-string/m-p/213794#M52721</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-04-01T13:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace date within a string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-replace-date-within-a-string/m-p/213795#M52722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if you have actually tried the below code with tranwrd function. This is working, please check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;length x $200.;&lt;/P&gt;&lt;P&gt;x="the enddate of employee1 is 15/10/2012";&lt;/P&gt;&lt;P&gt;x1 = tranwrd(x,"15/10/2012"," ");&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 14:50:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-replace-date-within-a-string/m-p/213795#M52722</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2015-04-01T14:50:41Z</dc:date>
    </item>
  </channel>
</rss>

