My train of thought has gone dead! I'm looking for an equivalent 'IN' command, like:
to replace
I know i could use case statement to achieve it but this is a one liner so wondering if there is such a function?
I told you my head was cabbaged!
VB.NET:
S=2
if S isIn(1,2,3,4,5) then = true
to replace
VB.NET:
if S=1 then true elseif S=2 then true...
I know i could use case statement to achieve it but this is a one liner so wondering if there is such a function?
I told you my head was cabbaged!