<?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 Multiple argument for TRANWRD function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763485#M241812</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to replace the "â" by "a" and the "ô " by "o" in the column My_data.&lt;/P&gt;
&lt;P&gt;Could I use TRANWRD function with multiple arguments like&amp;nbsp;My_data2=TRANWRD(My_data,"â",a,"ô",o)&amp;nbsp; ?&lt;/P&gt;
&lt;P&gt;There is some function that runs with multiple arguments please&amp;nbsp; and replace the character?&lt;/P&gt;</description>
    <pubDate>Tue, 24 Aug 2021 12:25:59 GMT</pubDate>
    <dc:creator>SASdevAnneMarie</dc:creator>
    <dc:date>2021-08-24T12:25:59Z</dc:date>
    <item>
      <title>Multiple argument for TRANWRD function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763485#M241812</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to replace the "â" by "a" and the "ô " by "o" in the column My_data.&lt;/P&gt;
&lt;P&gt;Could I use TRANWRD function with multiple arguments like&amp;nbsp;My_data2=TRANWRD(My_data,"â",a,"ô",o)&amp;nbsp; ?&lt;/P&gt;
&lt;P&gt;There is some function that runs with multiple arguments please&amp;nbsp; and replace the character?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 12:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763485#M241812</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2021-08-24T12:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple argument for TRANWRD function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763486#M241813</link>
      <description>&lt;P&gt;I think the &lt;A href="https://documentation.sas.com/doc/en/pgmmvacdc/9.4/lefunctionsref/p05ww22zp7lcg3n1bjk7v93tscyo.htm" target="_self"&gt;TRANSLATE&lt;/A&gt; function does what you want.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 12:32:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763486#M241813</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-08-24T12:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple argument for TRANWRD function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763489#M241814</link>
      <description>&lt;P&gt;Check you ENCODING setting.&amp;nbsp; You can check the automatic macro variable SYSENCODING.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using a single byte encoding like WLATIN1 then solution like in &lt;A href="https://communities.sas.com/t5/SAS-Programming/Removing-non-Unicode-characters-from-a-variable/m-p/343298/highlight/true#M78806" target="_self"&gt;this question&lt;/A&gt; using TRANSLATE() will work.&lt;/P&gt;
&lt;P&gt;Otherwise if you are using a multi-byte encoding like UTF-8 then you will need to use the&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/nlsref/p10atr6djv8t88n16x5xgh2l30t5.htm" target="_self"&gt;KTRANSLATE() function&lt;/A&gt; instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 12:42:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763489#M241814</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-08-24T12:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple argument for TRANWRD function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763491#M241815</link>
      <description>Thank you, Tom !&lt;BR /&gt;That works !</description>
      <pubDate>Tue, 24 Aug 2021 12:48:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763491#M241815</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2021-08-24T12:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple argument for TRANWRD function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763505#M241821</link>
      <description>Also check function BASECHAR()</description>
      <pubDate>Tue, 24 Aug 2021 13:28:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-argument-for-TRANWRD-function/m-p/763505#M241821</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-08-24T13:28:05Z</dc:date>
    </item>
  </channel>
</rss>

