J
Jay
What is the quivelant to the SQL IN function in VB.NET? Eg. I need to know
if a string contains a specific character.
dim varwhatever as string
if varwhatever in ("5","6","9") then ...
I've been using:
if varwhatever="5" or varwhatever="6" or varwhatever="9" then ...
But there must be a better, more effecient way.
Thanks a lot.
if a string contains a specific character.
dim varwhatever as string
if varwhatever in ("5","6","9") then ...
I've been using:
if varwhatever="5" or varwhatever="6" or varwhatever="9" then ...
But there must be a better, more effecient way.
Thanks a lot.