<?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: question about substr in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/question-about-substr/m-p/290797#M60217</link>
    <description>&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2016 19:17:11 GMT</pubDate>
    <dc:creator>cecily</dc:creator>
    <dc:date>2016-08-10T19:17:11Z</dc:date>
    <item>
      <title>question about substr</title>
      <link>https://communities.sas.com/t5/SAS-Programming/question-about-substr/m-p/290791#M60212</link>
      <description>&lt;P&gt;data a;&lt;BR /&gt;sub1="*"||substr(1234.5678,1,6)||"*";&lt;BR /&gt;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;why in the result there are some blanks before 1234？&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 18:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/question-about-substr/m-p/290791#M60212</guid>
      <dc:creator>cecily</dc:creator>
      <dc:date>2016-08-10T18:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: question about substr</title>
      <link>https://communities.sas.com/t5/SAS-Programming/question-about-substr/m-p/290795#M60216</link>
      <description>&lt;P&gt;Read the SAS log!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first argument to SUBSTR&amp;nbsp;must be of type character. A number will be converted to a right justified character string using sometinng like the BEST12. format, i.e. including some leading blanks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can control the convertion result with functions PUT, LEFT, and STRIP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 19:09:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/question-about-substr/m-p/290795#M60216</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-08-10T19:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: question about substr</title>
      <link>https://communities.sas.com/t5/SAS-Programming/question-about-substr/m-p/290797#M60217</link>
      <description>&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 19:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/question-about-substr/m-p/290797#M60217</guid>
      <dc:creator>cecily</dc:creator>
      <dc:date>2016-08-10T19:17:11Z</dc:date>
    </item>
  </channel>
</rss>

