<?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: BASE-SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10214#M708</link>
    <description>I would recommend you read the documentation</description>
    <pubDate>Wed, 09 Apr 2008 12:55:14 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-04-09T12:55:14Z</dc:date>
    <item>
      <title>BASE-SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10213#M707</link>
      <description>1.What is difference between trim &amp;amp; concat functions? Can any one give definition and example for the same?</description>
      <pubDate>Wed, 09 Apr 2008 11:30:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10213#M707</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-09T11:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: BASE-SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10214#M708</link>
      <description>I would recommend you read the documentation</description>
      <pubDate>Wed, 09 Apr 2008 12:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10214#M708</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-09T12:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: BASE-SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10215#M709</link>
      <description>I second Chuck's recommendation, you'll usually get your answer much faster.&lt;BR /&gt;
&lt;BR /&gt;
Trim = remove blanks from a character string;&lt;BR /&gt;
concat = append one string to another.</description>
      <pubDate>Tue, 15 Apr 2008 17:09:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10215#M709</guid>
      <dc:creator>JasonDiVirgilio</dc:creator>
      <dc:date>2008-04-15T17:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: BASE-SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10216#M710</link>
      <description>TRIM removes trailing spaces etc, so if  VAR1= '1234 ', you can create a new variable in the data step VAR2= TRIM(VAR1) will take out the space after 1234.&lt;BR /&gt;
&lt;BR /&gt;
CONCAT Function&lt;BR /&gt;
&lt;BR /&gt;
performs elementwise string concatenation&lt;BR /&gt;
&lt;BR /&gt;
CONCAT( argument1, argument2, argument15&amp;gt;) &lt;BR /&gt;
where arguments are character matrices or quoted literals.&lt;BR /&gt;
&lt;BR /&gt;
The CONCAT function produces a character matrix containing elements that are the concatenations of corresponding element strings from each argument. The CONCAT function accepts up to 15 arguments, where each argument is a character matrix or a scalar. All nonscalar arguments must conform. Any scalar arguments are used repeatedly to concatenate to all elements of the other arguments. The element length of the result equals the sum of the element lengths of the arguments. Trailing blanks of one matrix argument appear before elements of the next matrix argument in the result matrix.</description>
      <pubDate>Wed, 14 May 2008 21:23:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10216#M710</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-05-14T21:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: BASE-SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10217#M711</link>
      <description>&lt;B&gt;concatenate:&lt;/B&gt;&lt;BR /&gt;
 concatenation...means joining....concatenation operator( !!  or || ) joins character strings..&lt;BR /&gt;
&lt;BR /&gt;
eg:varname=stringA !! stringB;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;TRIM:&lt;/B&gt;&lt;BR /&gt;
 it removes trailing blanks from the given argument.it does nt remove leading blanks .to remove leading blanks use combination of TRIM  and LEFT.combination of both removes leading and trailing blanks.&lt;BR /&gt;
&lt;BR /&gt;
eg:varname=TRIM(arg1) !! arg2;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
****concatenation operator does not remove trailing blanks</description>
      <pubDate>Thu, 15 May 2008 17:13:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/BASE-SAS/m-p/10217#M711</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-05-15T17:13:23Z</dc:date>
    </item>
  </channel>
</rss>

