<?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: sounds like function in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80860#M23314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the detailed explanation. I appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 May 2013 21:30:37 GMT</pubDate>
    <dc:creator>robertrao</dc:creator>
    <dc:date>2013-05-20T21:30:37Z</dc:date>
    <item>
      <title>sounds like function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80854#M23308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have a variable in a dataset and want to check if a word sounds like&lt;/P&gt;&lt;P&gt;I used the following and did not work for me..&lt;/P&gt;&lt;P&gt;Could you please correct??&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;if description like "myocar" then flg=1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 20:07:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80854#M23308</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-05-20T20:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: sounds like function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80855#M23309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proc SQL =* operator. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp; create table want as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select *, case when description =*&amp;nbsp; "myocar" then 1 else 0 end as flg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from have;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 20:22:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80855#M23309</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2013-05-20T20:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: sounds like function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80856#M23310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks. Is there any Datastep option to do the same??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 20:27:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80856#M23310</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-05-20T20:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: sounds like function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80857#M23311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, if you insist:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if soundex(description)=soundex('myocar') then flg=1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 20:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80857#M23311</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2013-05-20T20:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: sounds like function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80858#M23312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I still keep getting all missing values in the flg variable even though there are words starting with myocar&lt;/P&gt;&lt;P&gt;Where could i have gone wrong???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 20:44:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80858#M23312</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-05-20T20:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: sounds like function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80859#M23313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Statring with "myocar" and Sounds like it are completely different concept, considering the scenario like this:&lt;/P&gt;&lt;P&gt;mmyocar vs myocar, NOT Starting, but very much Sound like;&lt;/P&gt;&lt;P&gt;while: myocarapdofhaposdjf vs myocar, nah.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; a='myocaringhongtingdon'; &lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp; a='mmyocar'; &lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;set test;&lt;/P&gt;&lt;P&gt;if soundex(a)=soundex('myocar') then put a "Sound like";&lt;/P&gt;&lt;P&gt;else put a "NOT sound like";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to be clear on what you are really after, then choose the right tools. Soundex works based on English pronunciation,&amp;nbsp; if it does not meet your need, look for other options like spedis, complev, compare, compged.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 21:17:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80859#M23313</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2013-05-20T21:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: sounds like function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80860#M23314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the detailed explanation. I appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 21:30:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sounds-like-function/m-p/80860#M23314</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-05-20T21:30:37Z</dc:date>
    </item>
  </channel>
</rss>

