How to check whether a substring is available inside a docCookie variable string..?
===

I am using `docCookie` as cookie management with jquery and "docCookie". I have created the cookie of a string. Now i want to know whether a substring is available in my cookie string or not..?

How to do it..?
My search string is : "@", "gmail", "com".

All three string should be there in cookie to do my work inside if block


    if ( docCookies.getItem("email").<what function required..?>)  {
                    // my work
                    }


Please help me.. thanks..