<?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: where is the charlist list in sas documentation for SCAN funciton? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506319#M135709</link>
    <description>&lt;P&gt;&lt;A href="http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p0jshdjy2z9zdzn1h7k90u99lyq6.htm&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p0jshdjy2z9zdzn1h7k90u99lyq6.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You specify the charlist, any characters you want.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Oct 2018 19:09:41 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-10-21T19:09:41Z</dc:date>
    <item>
      <title>where is the charlist list in sas documentation for SCAN funciton?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506316#M135707</link>
      <description>&lt;P&gt;First off, my apologies for the lame question perhaps lack of sleep, tiredness or whatever.&lt;/P&gt;
&lt;P&gt;Ok question, from sas function documentation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="strong"&gt;&lt;SPAN class="strongEmph"&gt;charlist&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;specifies an optional character expression that initializes a list of characters. This list determines which characters are used as the delimiters that separate words. The following rules apply:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;By default, all characters in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="strongEmph"&gt;charlist&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;are used as delimiters.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;If you specify the K modifier in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="strongEmph"&gt;modifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;argument, then all characters that are&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="strongEmph"&gt;not&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="strongEmph"&gt;charlist&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;are used as delimiters.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;TABLE cellspacing="2" cellpadding="4"&gt;
&lt;TBODY&gt;
&lt;TR valign="top"&gt;
&lt;TD width="95" align="left" class="label"&gt;Tip:&lt;/TD&gt;
&lt;TD align="left" class="bgBlockLight"&gt;You can add more characters to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="strongEmph"&gt;charlist&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;by using other modifiers.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;where&lt;/STRONG&gt; is the charlist list in sas documentation? This irks me&lt;/P&gt;</description>
      <pubDate>Sun, 21 Oct 2018 18:19:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506316#M135707</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-21T18:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: where is the charlist list in sas documentation for SCAN funciton?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506318#M135708</link>
      <description>&lt;P&gt;I have found a few in SAS help but never found a full list.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Oct 2018 18:36:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506318#M135708</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-10-21T18:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: where is the charlist list in sas documentation for SCAN funciton?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506319#M135709</link>
      <description>&lt;P&gt;&lt;A href="http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p0jshdjy2z9zdzn1h7k90u99lyq6.htm&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p0jshdjy2z9zdzn1h7k90u99lyq6.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You specify the charlist, any characters you want.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Oct 2018 19:09:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506319#M135709</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-10-21T19:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: where is the charlist list in sas documentation for SCAN funciton?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506322#M135712</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp; That's the doc i needed. Hmm the answer i wanted was right there viz.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="xis-title"&gt;Using Default Delimiters in ASCII and EBCDIC Environments&lt;/H3&gt;
&lt;DIV id="n0ixq9hp8tq11ln1he8d7mojod1n" class="xis-topicContent"&gt;
&lt;DIV id="p0hi4ck62zsyw4n1b1o7g0aydgsh" class="xis-paragraph"&gt;If you use the SCAN function with only two arguments, then the default delimiters depend on whether your computer uses ASCII or EBCDIC characters.&lt;/DIV&gt;
&lt;DIV class="xis-listUnordered"&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV id="n0i77e70ukqxmtn11mg730ospe1o" class="xis-item"&gt;
&lt;DIV id="n1ajlezj0cfsg4n1roly22oujbxc" class="xis-paraSimpleFirst"&gt;If your computer uses ASCII characters, the default delimiters are as follows:&lt;/DIV&gt;
&lt;DIV id="n1u3as1m3yp0w2n1dbzznex5n88c" class="xis-paraSimple"&gt;&lt;STRONG&gt;blank ! $ % &amp;amp; ( ) * + , - . / ; &amp;lt; ^ |&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV id="p0cxc8lzn89wszn1t9h4dhmtdc33" class="xis-paraSimple"&gt;In ASCII environments that do not contain the ^ character, the SCAN function uses the ~ character instead.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV id="p1y1fg9pi1h8zfn10le0wfbhhhfd" class="xis-item"&gt;
&lt;DIV id="n0ijv36a49y987n1a3v5wve33z4g" class="xis-paraSimpleFirst"&gt;If your computer uses EBCDIC characters, then the default delimiters are as follows:&lt;/DIV&gt;
&lt;DIV id="p1lpy2762l9ed2n177qyk1ybb208" class="xis-paraSimple"&gt;&lt;STRONG&gt;blank ! $ % &amp;amp; ( ) * + , - . / ; &amp;lt; ¬ | ¢&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;DIV class="xis-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="p0hxdjlsuqxbfqn1b3h42wzqrzbj" class="xis-paragraph"&gt;If you use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;modifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;argument without specifying any characters as delimiters, then the only delimiters that are used are delimiters that are defined by the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;modifier&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;argument. In this case, the lists of default delimiters for ASCII and EBCDIC environments are not used. In other words, modifiers add to the list of delimiters that are explicitly specified by the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xis-userSuppliedValue"&gt;charlist&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;argument. Modifiers do not add to the list of default modifiers.&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 21 Oct 2018 19:40:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506322#M135712</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-21T19:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: where is the charlist list in sas documentation for SCAN funciton?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506323#M135713</link>
      <description>&lt;P&gt;And why the problem arose was thanks to this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;when i desired (1995)&lt;/P&gt;
&lt;P&gt;1013 data _null_;&lt;BR /&gt;1014 k='Toy Story (1995)';&lt;BR /&gt;1015 k1=scan(k,-1);&lt;BR /&gt;1016 put k1=;&lt;BR /&gt;1017 run;&lt;/P&gt;
&lt;P&gt;k1=1995&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and it's pretty apparent, the explicit charlist specification was needed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;k='Toy Story (1995)';&lt;BR /&gt;&lt;STRONG&gt;k1=scan(k,-1,' ');&lt;/STRONG&gt;&lt;BR /&gt;put k1=;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Oct 2018 19:44:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/where-is-the-charlist-list-in-sas-documentation-for-SCAN/m-p/506323#M135713</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-21T19:44:42Z</dc:date>
    </item>
  </channel>
</rss>

