Hi,
You can use the following code:
var url = “http:\\Google.com”
if(url.indexOf(url) !=
-1)
{
//it means url contains Google word.
}
indexOf returns the position of the word in the string. If not found, it will return -1
Regards,
[signature moderated]