Re: Compare question
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Sep 21, 2003
- 414 views
On Sat, 20 Sep 2003 16:09:52 -0600, sixs at ida.net wrote: > >I am trying to compare a value first position in a html file. This = position contains "<" with a this next line of code > This is supposed to be an equal compare for the very first position > =3D=3D> if compare( "<", line[i]) =3D 0 and try compare('<',line[i]). line is going to be "<td.., so line[1] is a character, not a string. You don't need compare in this case, using line[i]=3D'<' is fine. Pete