<?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 how to count and output specific number of strings in a variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-count-and-output-specific-number-of-strings-in-a-variable/m-p/432789#M107228</link>
    <description />
    <pubDate>Wed, 31 Jan 2018 15:31:34 GMT</pubDate>
    <dc:creator>sas_student1</dc:creator>
    <dc:date>2018-01-31T15:31:34Z</dc:date>
    <item>
      <title>how to count and output specific number of strings in a variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count-and-output-specific-number-of-strings-in-a-variable/m-p/432789#M107228</link>
      <description />
      <pubDate>Wed, 31 Jan 2018 15:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count-and-output-specific-number-of-strings-in-a-variable/m-p/432789#M107228</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2018-01-31T15:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to count and output specific number of strings in a variable [how to improve your question]</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count-and-output-specific-number-of-strings-in-a-variable/m-p/432790#M107229</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/103523"&gt;@sas_student1&lt;/a&gt;,&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;Your question requires more details before experts can help.&amp;nbsp;Can you revise your question to include more information?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Review this checklist:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Specify a meaningful subject line for your topic.&amp;nbsp; Avoid generic subjects like "need help," "SAS query," or "urgent."&lt;/LI&gt;
&lt;LI&gt;When appropriate, provide sample data in text or DATA step format.&amp;nbsp; See &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;this article for one method&lt;/A&gt;&amp;nbsp;you can use.&lt;/LI&gt;
&lt;LI&gt;If you're encountering an error in SAS, include the SAS log or a screenshot of the error condition.&amp;nbsp;Use the&amp;nbsp;&lt;STRONG&gt;Photos&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button to include the image in your message.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 279px;"&gt;&lt;IMG src="https://kntur85557.i.lithium.com/t5/image/serverpage/image-id/16608i91A52F817EAC9A69/image-dimensions/279x150?v=1.0" width="279" height="150" alt="use_buttons.png" title="use_buttons.png" /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;It also helps to include an example (table or picture) of the result that you're trying to achieve.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To edit your original message, select the "blue gear" icon at the top of the message and select&amp;nbsp;&lt;STRONG&gt;Edit Message&lt;/STRONG&gt;.&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;From there you can adjust the title and add more details to the body of the message.&amp;nbsp; Or, simply reply to this message with any additional information you can supply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 229px;"&gt;&lt;IMG src="https://kntur85557.i.lithium.com/t5/image/serverpage/image-id/16605iAC020BC79315B045/image-size/large?v=1.0&amp;amp;px=600" alt="edit_post.png" title="edit_post.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SAS experts are eager to help -- help&amp;nbsp;&lt;EM&gt;them&lt;/EM&gt; by providing as much detail as you can.&lt;/P&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style:italic;font-size:smaller;"&gt;This prewritten response was triggered for you by fellow SAS Support Communities member &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304"&gt;@PeterClemmensen&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;.</description>
      <pubDate>Wed, 31 Jan 2018 15:32:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count-and-output-specific-number-of-strings-in-a-variable/m-p/432790#M107229</guid>
      <dc:creator>Community_Guide</dc:creator>
      <dc:date>2018-01-31T15:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to count and output specific number of strings in a variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count-and-output-specific-number-of-strings-in-a-variable/m-p/432794#M107231</link>
      <description>&lt;P&gt;The function COUNTW may work depending on how well you define "number of strings".&lt;/P&gt;
&lt;P&gt;Of course that is for a single observation.&lt;/P&gt;
&lt;P&gt;Do you mean to count across observations?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example input data and example output for the given input will help provide more specifics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Issues that can affect this sort of count are quoted strings with imbedded delimiters to count as one "string", Strings with delimiters such as period&amp;nbsp; (is library.dataset to be counted as one string or two?), numeric values with commas and or decimals (is 3,456.7 to be one word, two or 3?)&lt;/P&gt;
&lt;P&gt;Presence of special characters such as * / ()%@ and should they be treated as word separators or not.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 15:38:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count-and-output-specific-number-of-strings-in-a-variable/m-p/432794#M107231</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-01-31T15:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to count and output specific number of strings in a variable [how to improve your question]</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-count-and-output-specific-number-of-strings-in-a-variable/m-p/432796#M107232</link>
      <description>&lt;P&gt;can you remove this post please.&lt;/P&gt;&lt;P&gt;I did not finish my post and accidently posted it.&lt;/P&gt;&lt;P&gt;I have a new post with the full question&lt;/P&gt;&lt;P&gt;Trying to figure out how to remove this one and cant seem to find the delete option&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 15:40:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-count-and-output-specific-number-of-strings-in-a-variable/m-p/432796#M107232</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2018-01-31T15:40:03Z</dc:date>
    </item>
  </channel>
</rss>

