Function matches from String Class
I'm using the String Class like that :
boolean b1 = value1.matches(filterArticle);
boolean b2 = value2.matches(filterColor);
for filtering table and the probleme is when i debug :
it's always false !! ... why ??
(like value1 = jacket and filterArticle = e : b1 = false)
I don't understand ...
try using the placeholder char in your expression:
Instead of "jack" use "jack.*". This should match the string "jacket".
Message was edited by: Sebastian Voss