nodejs if contains code example
Example: nodejs if contains
if (your_string.indexOf('hello') > -1)
{
alert("hello found inside your_string");
}
if (your_string.indexOf('hello') > -1)
{
alert("hello found inside your_string");
}