Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Like" in ASP

Status
Not open for further replies.

cdelaney

Programmer
Mar 2, 2000
8
0
0
CA
I am trying to determine if a string is similar to another using the &quot;Like&quot; operator.&nbsp;&nbsp;What I intend to do is determine if a user entered url started out with http:// or not. <br><br>Any help is greatly appreciated.<br><br>Curtis
 
How about:<br><br>If LCase(Left(strURLEntered,7)) = &quot;<A HREF=" TARGET="_new"> Then<br>&nbsp;&nbsp;&nbsp;bPrefixedWithHTTP = True<br>Else<br>&nbsp;&nbsp;&nbsp;bPrefixedWithHTTP = False<br>End If<br>
 
Thanks I never thought of that.<br><br><br>Curtis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top