Menu
Hi, I’ve got a string that holds a content similar to this:
[COLOR=DarkOrange] var PreSelectedIDS = “7,8,10,55,250,12”;
Now I have another variable:
[COLOR=DarkOrange] var MyID = “10”;
I need to find out if the MyID is included in the PreSelectedIDS where each value is separated by a comma. How would I go about doing this ? Thanks !