<?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: delect the PHD and .ph.d from the character in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/delect-the-PHD-and-ph-d-from-the-character/m-p/697876#M25450</link>
    <description>&lt;PRE&gt;data have;
input x $40.;
cards;
Sara.Ph.D
Ali PHD
Bran MD
;
data want;
 set have;
 want=prxchange('s/\b(phd|ph\.d|md)\b//i',-1,x);
run;&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 Nov 2020 12:23:34 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2020-11-10T12:23:34Z</dc:date>
    <item>
      <title>delect the PHD and .ph.d from the character</title>
      <link>https://communities.sas.com/t5/New-SAS-User/delect-the-PHD-and-ph-d-from-the-character/m-p/697717#M25433</link>
      <description>&lt;P&gt;I have a dataset,&lt;/P&gt;&lt;P&gt;Sara.Ph.D&lt;/P&gt;&lt;P&gt;Ali PHD&lt;/P&gt;&lt;P&gt;Bran MD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want remove the .PH.D and PHD and MD&lt;/P&gt;&lt;P&gt;want dataset:&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 21:05:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/delect-the-PHD-and-ph-d-from-the-character/m-p/697717#M25433</guid>
      <dc:creator>Smitha9</dc:creator>
      <dc:date>2020-11-09T21:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: delect the PHD and .ph.d from the character</title>
      <link>https://communities.sas.com/t5/New-SAS-User/delect-the-PHD-and-ph-d-from-the-character/m-p/697721#M25434</link>
      <description>Use the SCAN() function to extract the characters before the space or period.&lt;BR /&gt;&lt;BR /&gt;FirstName = scan(word, 1, ". ");</description>
      <pubDate>Mon, 09 Nov 2020 21:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/delect-the-PHD-and-ph-d-from-the-character/m-p/697721#M25434</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-09T21:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: delect the PHD and .ph.d from the character</title>
      <link>https://communities.sas.com/t5/New-SAS-User/delect-the-PHD-and-ph-d-from-the-character/m-p/697876#M25450</link>
      <description>&lt;PRE&gt;data have;
input x $40.;
cards;
Sara.Ph.D
Ali PHD
Bran MD
;
data want;
 set have;
 want=prxchange('s/\b(phd|ph\.d|md)\b//i',-1,x);
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Nov 2020 12:23:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/delect-the-PHD-and-ph-d-from-the-character/m-p/697876#M25450</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-11-10T12:23:34Z</dc:date>
    </item>
  </channel>
</rss>

