<?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 the second '.' in the variable. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Remove-the-second-in-the-variable/m-p/615902#M180211</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
x='(5.8.8)';
f=findc(x,'.');
s=findc(x,'.',f+1);
want=cats(substr(x,1,s-1),substr(x,s+1));
put want=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Jan 2020 12:42:59 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2020-01-08T12:42:59Z</dc:date>
    <item>
      <title>Remove the second '.' in the variable.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-the-second-in-the-variable/m-p/615647#M180096</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to remove the Second '.' of value in the character variable.&lt;/P&gt;&lt;P&gt;For Example&amp;nbsp;&lt;/P&gt;&lt;P&gt;(5.8.8) turn it as (5.88)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly suggest code to solve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 12:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-the-second-in-the-variable/m-p/615647#M180096</guid>
      <dc:creator>Sathish_jammy</dc:creator>
      <dc:date>2020-01-07T12:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remove the second '.' in the variable.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-the-second-in-the-variable/m-p/615650#M180097</link>
      <description>&lt;P&gt;Here is one way&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
    a='5.8.8';
    b=prxchange('s/(.*\..*)(\.)(.*)/$1$3/', -1, a);
    put b;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jan 2020 13:13:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-the-second-in-the-variable/m-p/615650#M180097</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-01-07T13:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Remove the second '.' in the variable.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Remove-the-second-in-the-variable/m-p/615902#M180211</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
x='(5.8.8)';
f=findc(x,'.');
s=findc(x,'.',f+1);
want=cats(substr(x,1,s-1),substr(x,s+1));
put want=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jan 2020 12:42:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Remove-the-second-in-the-variable/m-p/615902#M180211</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-01-08T12:42:59Z</dc:date>
    </item>
  </channel>
</rss>

