String

I am trying to look at a string and disgard it if it contains the word CERT or completed the only problem is its html code and i tried .equalIgnoreCase but that didn't work any suggestions?

A sample of the stringtd><td><font face="Verdana" size="1">NTCERTD1</font></td><td><font face="Verdana"

>

[408 byte] By [mark07a] at [2007-11-27 11:33:53]
# 1

Suggestions what for? Do you need "indexOf()"?

CeciNEstPasUnProgrammeura at 2007-7-29 16:54:01 > top of Java-index,Java Essentials,Java Programming...
# 2

Convert both the strings to uppercase, then do a .contains()

georgemca at 2007-7-29 16:54:01 > top of Java-index,Java Essentials,Java Programming...
# 3

if(name.contains("cert"))

{

discard();

}

Jamwaa at 2007-7-29 16:54:01 > top of Java-index,Java Essentials,Java Programming...
# 4

thx contains works :)

mark07a at 2007-7-29 16:54:01 > top of Java-index,Java Essentials,Java Programming...