|
| |
|
|
ACEDISH
Posts: 176 Joined: 9/30/2002 From: Manassas, Virginia Status: offline
|
"Begins With, Ends With, Contains Question - 9/30/2005 9:32:49
Begins with Example I am familiar with the LIKE command when using database but how would i do it in this example? IF Request.Form("SomeName") BEGINS WITH "sm" THEN (my made up code) Thanks, ACE
_____________________________
" Anyone who can only think of one way to spell a word obviously lacks imagination"
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: "Begins With, Ends With, Contains Question - 9/30/2005 10:08:03
quote:
IF Request.Form("SomeName") BEGINS WITH "sm" THEN This would work for this particular scenario: IF lcase(left(Request.Form("SomeName"),2)) = "sm" THEN That help any?
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|