string mystr = clause.Replace("\"", "");
whereArray = mystr.TrimEnd(']').TrimStart('[').Split(',');
so in whereArray i get this
"DigitalMedia","=","Snapchat","AND","Impressions","IN","14,15,24"
so Basically i want like this
whereArray[0] = "DigitalMedia"
whereArray [1] = "="
whereArray [2] = "Snapchat"
whereArray [3] = "AND"
whereArray [4] = "Impressions"
whereArray [5] = "IN"
whereArray [6] = "14,15,24"
and trying this
whereArray = mystr.TrimEnd(']').TrimStart('[').Split(',');