<?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: how to put space in characters in sas in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610390#M18094</link>
    <description>&lt;P&gt;What is the logic here?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 07:15:02 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2019-12-09T07:15:02Z</dc:date>
    <item>
      <title>how to put space in characters in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610388#M18093</link>
      <description>&lt;P&gt;i need help??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example my value is:&lt;/P&gt;
&lt;P&gt;state&lt;/P&gt;
&lt;P&gt;kula lumpur&lt;/P&gt;
&lt;P&gt;puterajaya&lt;/P&gt;
&lt;P&gt;labuan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but i want it will be like this:&lt;/P&gt;
&lt;P&gt;state&lt;/P&gt;
&lt;P&gt;&amp;nbsp; kula lumpur&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; puterajaya&lt;/P&gt;
&lt;P&gt;&amp;nbsp; labuan&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 07:09:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610388#M18093</guid>
      <dc:creator>merahilyana</dc:creator>
      <dc:date>2019-12-09T07:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to put space in characters in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610390#M18094</link>
      <description>&lt;P&gt;What is the logic here?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 07:15:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610390#M18094</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-12-09T07:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to put space in characters in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610392#M18095</link>
      <description>i want put space before kula lumpur n more space before puterajaya..that all</description>
      <pubDate>Mon, 09 Dec 2019 07:19:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610392#M18095</guid>
      <dc:creator>merahilyana</dc:creator>
      <dc:date>2019-12-09T07:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to put space in characters in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610394#M18096</link>
      <description>&lt;P&gt;Why? You just want to put for example two spaces before&amp;nbsp;&lt;SPAN&gt;kula lumpur and four spaces before&amp;nbsp;puterajaya.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 07:24:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610394#M18096</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-12-09T07:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to put space in characters in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610399#M18097</link>
      <description>&lt;P&gt;THAT IS EXAMPLE THE REAL DATA LIKE THIS:&lt;BR /&gt;&lt;STRONG&gt;BATU PAHAT&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; M.P. Batu Pahat&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Bandar Penggaram&lt;BR /&gt;&lt;BR /&gt;to show result at word like that..&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 07:32:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610399#M18097</guid>
      <dc:creator>merahilyana</dc:creator>
      <dc:date>2019-12-09T07:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to put space in characters in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610400#M18098</link>
      <description>&lt;P&gt;What do you mean by "real data"? SAS datasets or external files from which SAS data needs to be created?&lt;/P&gt;
&lt;P&gt;Also keep in mind that in many cases, SAS will not display leading blanks per default.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 07:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610400#M18098</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-09T07:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to put space in characters in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610401#M18099</link>
      <description>MY DATA..NOT FROM SAS..JUST WANT APPEAR RESULT WILL BE LIKE THAT ONLY..</description>
      <pubDate>Mon, 09 Dec 2019 07:42:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610401#M18099</guid>
      <dc:creator>merahilyana</dc:creator>
      <dc:date>2019-12-09T07:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to put space in characters in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610412#M18101</link>
      <description>&lt;P&gt;Then please post (copy/paste) a few lines of your input file into a window opened with the {i} button.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 08:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610412#M18101</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-09T08:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to put space in characters in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610482#M18111</link>
      <description>&lt;P&gt;If that data is already in a SAS data set, you need to take two steps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, add leading blanks.&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;varname = '&amp;nbsp; ' || varname;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Secondly, you need to preserve the leading blanks when displaying the variable.&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;format varname $char20.;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:34:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-put-space-in-characters-in-sas/m-p/610482#M18111</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-12-09T14:34:42Z</dc:date>
    </item>
  </channel>
</rss>

