test for variable not in a list of values

K

Keith G Hicks

How can I do this in vb.net?

Dim SomeVar as String = "red"

IF SomeVar NOT IN ("yellow", "green", "blue") THEN...
 
K

Keith G Hicks

Sorry. This accidentally ended up in the wrong newsgroup. I'm reposting it
to the proper place.
 
Top