<?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: Replace letter in string in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-letter-in-string/m-p/884679#M43313</link>
    <description>&lt;P&gt;Have you tried TRANSLATE function?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;surname_no_apostrophe = translate(surname, " ", "'");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Last parameter is single quote/apostrophe, wrapped in double quotes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/116786"&gt;@Sean_OConnor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a list of surnames in a string and I need to replace say O'Con or O'S with O Con or O S.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried to this and I'm struggling so any help welcome.&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sean&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 15:56:23 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2023-07-13T15:56:23Z</dc:date>
    <item>
      <title>Replace letter in string</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-letter-in-string/m-p/884676#M43312</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a list of surnames in a string and I need to replace say O'Con or O'S with O Con or O S.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to this and I'm struggling so any help welcome.&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sean&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 15:52:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-letter-in-string/m-p/884676#M43312</guid>
      <dc:creator>Sean_OConnor</dc:creator>
      <dc:date>2023-07-13T15:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replace letter in string</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-letter-in-string/m-p/884679#M43313</link>
      <description>&lt;P&gt;Have you tried TRANSLATE function?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;surname_no_apostrophe = translate(surname, " ", "'");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Last parameter is single quote/apostrophe, wrapped in double quotes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/116786"&gt;@Sean_OConnor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a list of surnames in a string and I need to replace say O'Con or O'S with O Con or O S.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried to this and I'm struggling so any help welcome.&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sean&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 15:56:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-letter-in-string/m-p/884679#M43313</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-07-13T15:56:23Z</dc:date>
    </item>
  </channel>
</rss>

