<?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 String manipulation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/String-manipulation/m-p/250128#M47141</link>
    <description>&lt;P&gt;Is there a function/routine in SAS to translate a list of unquoted inputs into an element wise quoted list. A crude example is shown below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let t1 = 20105 38163 5947127 10292;
%let t2 = %sysfunc(function(&amp;amp;t1.));

%put t2=&amp;amp;t2.;

t2="20105" "38163" "5947127" "10292"

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This list is being input as a parameter to a macro, so I'm hoping to do this step as a input cleanse for use in a where/in statement on a character variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2016 17:33:59 GMT</pubDate>
    <dc:creator>JoshB</dc:creator>
    <dc:date>2016-02-15T17:33:59Z</dc:date>
    <item>
      <title>String manipulation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/String-manipulation/m-p/250128#M47141</link>
      <description>&lt;P&gt;Is there a function/routine in SAS to translate a list of unquoted inputs into an element wise quoted list. A crude example is shown below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let t1 = 20105 38163 5947127 10292;
%let t2 = %sysfunc(function(&amp;amp;t1.));

%put t2=&amp;amp;t2.;

t2="20105" "38163" "5947127" "10292"

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This list is being input as a parameter to a macro, so I'm hoping to do this step as a input cleanse for use in a where/in statement on a character variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 17:33:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/String-manipulation/m-p/250128#M47141</guid>
      <dc:creator>JoshB</dc:creator>
      <dc:date>2016-02-15T17:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/String-manipulation/m-p/250130#M47142</link>
      <description>&lt;P&gt;How about this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let t1 = 20105 38163 5947127 10292;
%let t2 = "%sysfunc(tranwrd(&amp;amp;t1., %str( ), %str(" ")))";
%put &amp;amp;=t2.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Feb 2016 17:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/String-manipulation/m-p/250130#M47142</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-02-15T17:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/String-manipulation/m-p/250131#M47143</link>
      <description>&lt;P&gt;I would not have know the quotes around the %sysfunc() would remain. Excellent. Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 17:47:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/String-manipulation/m-p/250131#M47143</guid>
      <dc:creator>JoshB</dc:creator>
      <dc:date>2016-02-15T17:47:00Z</dc:date>
    </item>
  </channel>
</rss>

