<?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: Concatenate with a space in SAS in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Concatenate-with-a-space-in-SAS/m-p/591915#M15296</link>
    <description>&lt;P&gt;Try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

catx('  -  ',A,B)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 26 Sep 2019 16:28:38 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2019-09-26T16:28:38Z</dc:date>
    <item>
      <title>Concatenate with a space in SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Concatenate-with-a-space-in-SAS/m-p/591914#M15295</link>
      <description>&lt;P&gt;I would like to concatenate 2 variables and format as A - B.&lt;/P&gt;&lt;P&gt;I used &lt;FONT color="#0000ff"&gt;cats(A,' - ', B)&lt;FONT color="#000000"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;but the&lt;/FONT&gt; result&amp;nbsp;was A-B (no space between the letters and the dash).&lt;/P&gt;&lt;P&gt;I also tried &lt;FONT color="#0000ff"&gt;cats(A, ' ' , '-', ' ', B)&lt;FONT color="#000000"&gt;,&lt;/FONT&gt;&lt;/FONT&gt; but it still returned A-B&lt;/P&gt;&lt;P&gt;Is there any way to add a space between them?&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 16:25:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Concatenate-with-a-space-in-SAS/m-p/591914#M15295</guid>
      <dc:creator>MelissaN</dc:creator>
      <dc:date>2019-09-26T16:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate with a space in SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Concatenate-with-a-space-in-SAS/m-p/591915#M15296</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

catx('  -  ',A,B)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Sep 2019 16:28:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Concatenate-with-a-space-in-SAS/m-p/591915#M15296</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-09-26T16:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate with a space in SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Concatenate-with-a-space-in-SAS/m-p/591919#M15297</link>
      <description>&lt;P&gt;From the documentation for CATS:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Removes leading and trailing blanks, and returns a concatenated character string.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 16:31:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Concatenate-with-a-space-in-SAS/m-p/591919#M15297</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-26T16:31:16Z</dc:date>
    </item>
  </channel>
</rss>

