Determine if value exists in string with elegance
Posted on 2004-11-13
I'm offering the viewer an .asp page form with a list of checkboxs to allow multi-select. On the subsequent page I want to determine which values they have selected. Easy to do with one value selected, trickier with multi-values selected.
I can daisy chain together a series of blocks of code determining regular expression pattern but it seems clunky.
I'm looking for the vbscript equivalent of the SQL IN statement.