[SqueakDBX] Link complains about ilike:

Panu Suominen panu.suominen at iki.fi
Fri Nov 19 07:26:50 UTC 2010


I created following method to the String class. Change set is
attached. Squeak source was down so I was not able to make a commit
with monticello.

String>>ilike: wildcardString
	" 'ABCDE' ilike: 'abc%'  "
	^(wildcardString copyReplaceAll: '%' with: '*') asLowercase match:
self asLowercase.

I think this should take care of the problem.

-- 
Panu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glorp-ilke.1.cs
Type: text/x-csharp
Size: 320 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeakdbx/attachments/20101119/3f67b6cf/glorp-ilke.1.bin


More information about the SqueakDBX mailing list