javascript function to check "|" symbol is present or not
My string messege contain the string either this:
var strMessage = "Plcc-failed|Score-passed|bankruptcy-passed|Years in Business
i.e. it contains a " | " symbol in it or this
var strmsg="fail".
I need a javascript function to check whether it contains a "fail" msg or " | " symbol.
How to write a javascript function for it.
Thanks in advance