<?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: Macro functon like COUNTW? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160646#M31274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It tells the function which characters to consider as causing word boundaries. So %STR( ) tells to only consider a blank as the delimiter for work boundaries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/67398/HTML/default/viewer.htm#p18xi2516ihygyn1qg1b1nby326k.htm" title="http://support.sas.com/documentation/cdl/en/lefunctionsref/67398/HTML/default/viewer.htm#p18xi2516ihygyn1qg1b1nby326k.htm"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/67398/HTML/default/viewer.htm#p18xi2516ihygyn1qg1b1nby326k.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your computer uses ASCII characters, then the default delimiters are as follows:&lt;/P&gt;&lt;P&gt;blank ! $ % &amp;amp; ( ) * + , - . / ; &amp;lt; ^ |&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Oct 2014 21:14:00 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2014-10-14T21:14:00Z</dc:date>
    <item>
      <title>Macro functon like COUNTW?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160642#M31270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a macro variable that is a list of variable names delimited by spaces. I want to make a new macro variable that is the count of the number of variable names in the macro list. I thought we had a macro function that would do this but I can’t seem to find it. Any general hints or a push in the right direction would be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 22:03:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160642#M31270</guid>
      <dc:creator>Orsini</dc:creator>
      <dc:date>2014-09-25T22:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Macro functon like COUNTW?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160643#M31271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With %SYSFUNC() almost any function is potentially a macro function now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let n=%sysfunc(countw(&amp;amp;list,%str( )));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 22:08:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160643#M31271</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-09-25T22:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Macro functon like COUNTW?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160644#M31272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Tom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That worked like a charm!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 22:12:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160644#M31272</guid>
      <dc:creator>Orsini</dc:creator>
      <dc:date>2014-09-25T22:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Macro functon like COUNTW?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160645#M31273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let n=%sysfunc(countw(&amp;amp;list,%str());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this code,&amp;nbsp; what is the function of %str())?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 20:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160645#M31273</guid>
      <dc:creator>kaushal2040</dc:creator>
      <dc:date>2014-10-14T20:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Macro functon like COUNTW?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160646#M31274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It tells the function which characters to consider as causing word boundaries. So %STR( ) tells to only consider a blank as the delimiter for work boundaries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/67398/HTML/default/viewer.htm#p18xi2516ihygyn1qg1b1nby326k.htm" title="http://support.sas.com/documentation/cdl/en/lefunctionsref/67398/HTML/default/viewer.htm#p18xi2516ihygyn1qg1b1nby326k.htm"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/67398/HTML/default/viewer.htm#p18xi2516ihygyn1qg1b1nby326k.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your computer uses ASCII characters, then the default delimiters are as follows:&lt;/P&gt;&lt;P&gt;blank ! $ % &amp;amp; ( ) * + , - . / ; &amp;lt; ^ |&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 21:14:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160646#M31274</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-10-14T21:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Macro functon like COUNTW?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160647#M31275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Tom.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 22:05:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-functon-like-COUNTW/m-p/160647#M31275</guid>
      <dc:creator>kaushal2040</dc:creator>
      <dc:date>2014-10-14T22:05:01Z</dc:date>
    </item>
  </channel>
</rss>

