I browsed the java 1.4 API and java.lang.String have a matches() method there. Why is it that I can't use it with the blackberry JDE? Are there performance issues regarding this?
I trie to use the StringPattern class but as of this moment I am still very confused on how to use it. I'm trying to follow this example. Any help would be appreciated. Thanks!
Convert limitations to great expectations... You are the creative force of your life...
BTW, I am using the following methods as of this moment...
startsWith = contactName.startsWith(searchParameter);endsWith = contactName.endsWith(searchParameter); inBetween = contactName.indexOf(searchParameter) > 0;
if (startsWith || endsWith || inBetween){ v.addElement(contact);}
problem is that it's case sensitive...
shame on me. There's a toUpper() method for String. Hahaha!
same reason why we have the .NET compact framework which is a stripped down version of the big .NET framework for small devices
↑ Grab this Headline Animator