in reply to Re^2: Checking for occurrence in comma separated stringin thread Checking for occurrence in comma separated string
if(index(",$thestring,", ",$thecheck,") >= 0) { ... } [download]