Vbs / Case Select
Select one from a number of string values.
strColour = "blue" Select Case strColour Case "red" script.echo "red" Case "green" wscript.echo "green" Case "blue" wscript.echo = "blue" Case Else wscript.echo "unknown" End Select
Please note that a disclaimer applies to any code on this page.
|