<?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 First three consonants of a string in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/First-three-consonants-of-a-string/m-p/540691#M7248</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I would need to extract the first three consonants for each element of a list. Can someone help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you very much&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LIST&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TO BE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PAROLA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LIBRO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LBR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NEWSPAPER&amp;nbsp; NWS&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2019 08:35:23 GMT</pubDate>
    <dc:creator>daniele_1306</dc:creator>
    <dc:date>2019-03-06T08:35:23Z</dc:date>
    <item>
      <title>First three consonants of a string</title>
      <link>https://communities.sas.com/t5/New-SAS-User/First-three-consonants-of-a-string/m-p/540691#M7248</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I would need to extract the first three consonants for each element of a list. Can someone help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you very much&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LIST&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TO BE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PAROLA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LIBRO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LBR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NEWSPAPER&amp;nbsp; NWS&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 08:35:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/First-three-consonants-of-a-string/m-p/540691#M7248</guid>
      <dc:creator>daniele_1306</dc:creator>
      <dc:date>2019-03-06T08:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: First three consonants of a string</title>
      <link>https://communities.sas.com/t5/New-SAS-User/First-three-consonants-of-a-string/m-p/540695#M7249</link>
      <description>&lt;P&gt;Use compress-function to remove vowels, then substr to get the first three chars.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;consonants = substr(compress(word, 'aeiou', 'i'), 1, 3);&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you are 100% sure that you have only upcase letters in your list, than use&lt;/P&gt;
&lt;PRE&gt;consonants = substr(compress(word, 'AEIOU'), 1, 3);&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 08:46:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/First-three-consonants-of-a-string/m-p/540695#M7249</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-03-06T08:46:33Z</dc:date>
    </item>
  </channel>
</rss>

