[thelist] ASP Newbiw Question

Warden, Matt mwarden at mattwarden.com
Sun Apr 14 18:28:01 CDT 2002


On Apr 15, Olly Hodgson had something to say about [thelist] ASP Newbiw Question

>Whats the syntax for "if variable contains string then" ?
>
>I got as far as
><% if Request.ServerVariables("URL") = "Portfolio" then %>
>But I dont know how to do "contains" instead of "equals".
>
>Help?

Olly,

here ya go:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsfctinstr.asp

hth,

--
mattwarden
mattwarden.com




More information about the thelist mailing list