Randomblink
The Irreverent Reverend
- Local time
- Today, 06:06
- Joined
- Jul 23, 2001
- Messages
- 279
Here is my code...
When I run the code, for an example, the value of StreetType is "Secondary Arterial"... I want the select case statement to find the word "Arterial" in that value and stop there and assign Arterial to the variable StrType...
Can someone tell me what I am doing wrong...???
Help me, Mr. Popeil...!
Thanks in advance...
PHP:
Select Case StreetType
Case "*Arterial*"
StrType = "Arterial"
Case "*Parkway*"
StrType = "Parkway"
Case "*Expressway*"
StrType = "*Expressway*"
End Select
When I run the code, for an example, the value of StreetType is "Secondary Arterial"... I want the select case statement to find the word "Arterial" in that value and stop there and assign Arterial to the variable StrType...
Can someone tell me what I am doing wrong...???
Help me, Mr. Popeil...!
Thanks in advance...