<?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: Searching for 2, 3, 4 character ACRONYMS within a large document in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Searching-for-2-3-4-character-ACRONYMS-within-a-large-document/m-p/376295#M9853</link>
    <description>&lt;P&gt;This works like a charm, Very intersting, Thanks!&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jul 2017 02:36:10 GMT</pubDate>
    <dc:creator>rmacarthur</dc:creator>
    <dc:date>2017-07-16T02:36:10Z</dc:date>
    <item>
      <title>Searching for 2, 3, 4 character ACRONYMS within a large document</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Searching-for-2-3-4-character-ACRONYMS-within-a-large-document/m-p/376226#M9851</link>
      <description>&lt;P&gt;HI All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have base SAS, E.G., SAS Studio, and&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need to search a large document for all acronyms (2, 3, 4 character), isolate them, and create a table of definitions.&lt;/P&gt;&lt;P&gt;The acronyms can be any character like "IND", "mg", 'USP", etc...&lt;/P&gt;&lt;P&gt;Is there a SAS function , or combination of functions, that will count the number of characters in a word, &amp;nbsp;and provide a YES/NO (1/0) answer if a certain number of characters are present? &amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 13:16:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Searching-for-2-3-4-character-ACRONYMS-within-a-large-document/m-p/376226#M9851</guid>
      <dc:creator>rmacarthur</dc:creator>
      <dc:date>2017-07-15T13:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for 2, 3, 4 character ACRONYMS within a large document</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Searching-for-2-3-4-character-ACRONYMS-within-a-large-document/m-p/376234#M9852</link>
      <description>&lt;P&gt;It's easy to count the number of characters in a word:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;n_characters = lengthn(varname);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure you gain anything by translating this into a YES/NO. &amp;nbsp;You can easily select a subset that you want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if n_characters = 3;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if 0 &amp;lt; n_characters &amp;lt; 3;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or anything else that you would select. &amp;nbsp;Possibly:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc freq data=have;&lt;/P&gt;
&lt;P&gt;tables varname;&lt;/P&gt;
&lt;P&gt;where (0 &amp;lt; lengthn(varname) &amp;lt; 3);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 13:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Searching-for-2-3-4-character-ACRONYMS-within-a-large-document/m-p/376234#M9852</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-07-15T13:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for 2, 3, 4 character ACRONYMS within a large document</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Searching-for-2-3-4-character-ACRONYMS-within-a-large-document/m-p/376295#M9853</link>
      <description>&lt;P&gt;This works like a charm, Very intersting, Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2017 02:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Searching-for-2-3-4-character-ACRONYMS-within-a-large-document/m-p/376295#M9853</guid>
      <dc:creator>rmacarthur</dc:creator>
      <dc:date>2017-07-16T02:36:10Z</dc:date>
    </item>
  </channel>
</rss>

