well the basic way is
var foo1="hallo world how are you?"
var foo2="are you?"
produces -1 (LESS 1 if the string foo2 is not present INSIDE foo1) or a positive number if it is present.
I don't know what you mean by non programmatically. Arguably, you're wondering if there is a way to do it by html, but no: only a scripting language can let you do these things: html is static (in the sense it is not a scripting or programming language!)
PS John, I apologize if I meddle with this but I was struck by the quotation in your signature for it is clearly Descartes and a beautiful sentence actually, but maybe I don't know enouhg english so maybe "codito" has some meaning in english and was meant as an intentional change, but if wasn't so and obviously if I'm not kistaken the original latin sentence is "cogito ergo sum", g instead of d: a fascinating sentence by Descartes, anyway! Good choice!
Last edited by TrueLies; 06-19-2002 at 11:32 PM..