Hi Panu. The thing is that like is not case sensitive neither.<br><br>Look:<br><br>&#39;abcde&#39; like: &#39;abc%&#39;   true<br>&#39;aBcde&#39; like: &#39;abc%&#39; true<br>&#39;abcde&#39; like: &#39;aBc%&#39; true<br><br>

&#39;abcde&#39; ilike: &#39;abc%&#39;  true<br>&#39;aBcde&#39; ilike: &#39;abc%&#39;  true<br>&#39;abcde&#39; ilike: &#39;aBc%&#39;  true<br><br>Can you provide testcases to show the problem?  or the differences between like and ilike<br>
<br>thanks<br><br>mariano<br><br><div class="gmail_quote">On Fri, Nov 19, 2010 at 8:26 AM, Panu Suominen <span dir="ltr">&lt;<a href="mailto:panu.suominen@iki.fi" target="_blank">panu.suominen@iki.fi</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I created following method to the String class. Change set is<br>
attached. Squeak source was down so I was not able to make a commit<br>
with monticello.<br>
<br>
String&gt;&gt;ilike: wildcardString<br>
        &quot; &#39;ABCDE&#39; ilike: &#39;abc%&#39;  &quot;<br>
        ^(wildcardString copyReplaceAll: &#39;%&#39; with: &#39;*&#39;) asLowercase match:<br>
self asLowercase.<br>
<br>
I think this should take care of the problem.<br>
<br>
--<br>
<font color="#888888">Panu<br>
</font><br>_______________________________________________<br>
SqueakDBX mailing list<br>
<a href="mailto:SqueakDBX@lists.squeakfoundation.org" target="_blank">SqueakDBX@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx</a><br>
<br></blockquote></div><br>