I have this code:
For each c as char in "Hello World"
Select Case c
Case "h"
DoSomething()
Case "e"
DoSomething()
End Select
Next
Why I cant write like this:
Case "h" Or "e"
DoSomething()
It says ‘Long’ values cannot be converted to ‘Char’
How to accomplish this task?
Use:
or: