How to use wildcards in javascript : Here is my code :

    if(status == "*Contacted*")
            {
                jQuery("#list2").jqGrid('setRowData',rows[i],false, {  color:'black',weightfont:'bold',background:'yellow'});            
            }

I want the "*" to act like a wildcard, so that if it finds a string like : 

Contacted,Scheduled

it will still execute the code.  Am I using the wildcard incorrectly - because the way I have it, the code only works if the string is simply "Contacted" with nothing else mixed in

Thanks!

