case select string...

  • Thread starter Thread starter Mr. x
  • Start date Start date
M

Mr. x

Hello,
Can I do by VB language switch command, with strings,

The following works :
dim j
....
select case j
case 0
....
case 1
....
end select

but should the following work too ?
dim s
....
select case s
case "abc"
case "bcd"
end select


Thanks :)
 
Back
Top