<?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 how to replace two double quote by a single double quote using tranwrd in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-replace-two-double-quote-by-a-single-double-quote-using/m-p/893204#M43641</link>
    <description>&lt;P&gt;Imagine that we have ""Name"":""Alain"" in a variable called info.&lt;/P&gt;
&lt;P&gt;I would like to replace "" for ", so I will get "Name":"Alain"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried this but it does not works&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;		Data Info_1;
		set Info_1 ;
		Info=tranwrd(Info,"""",""");
		run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How do we do that ?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 18:50:47 GMT</pubDate>
    <dc:creator>alepage</dc:creator>
    <dc:date>2023-09-07T18:50:47Z</dc:date>
    <item>
      <title>how to replace two double quote by a single double quote using tranwrd</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-replace-two-double-quote-by-a-single-double-quote-using/m-p/893204#M43641</link>
      <description>&lt;P&gt;Imagine that we have ""Name"":""Alain"" in a variable called info.&lt;/P&gt;
&lt;P&gt;I would like to replace "" for ", so I will get "Name":"Alain"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried this but it does not works&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;		Data Info_1;
		set Info_1 ;
		Info=tranwrd(Info,"""",""");
		run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How do we do that ?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 18:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-replace-two-double-quote-by-a-single-double-quote-using/m-p/893204#M43641</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2023-09-07T18:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to replace two double quote by a single double quote using tranwrd</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-replace-two-double-quote-by-a-single-double-quote-using/m-p/893207#M43642</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried surrounding the text with single quotes instead?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data Info_1;
  set Info_1 ;
  Info=tranwrd(Info,'""','"');
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; kind regards,&lt;/P&gt;
&lt;P&gt;Amir.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 19:06:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-replace-two-double-quote-by-a-single-double-quote-using/m-p/893207#M43642</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2023-09-07T19:06:25Z</dc:date>
    </item>
  </channel>
</rss>

