Trim Web Sites

  • Thread starter Thread starter James
  • Start date Start date
J

James

Ok, someone provided this for me to trim the http:\\ and everything after
the first \

Mid([WebProxyLog.uri],8,InStr(Right([WebProxyLog.uri],Len([WebProxyLog.uri])
-7),"/")-1) AS Expr1

How would I alter this to leave the http:\\ as it has problems when there is
no http, or when its https.
So I want it to only trim the ending of the web site

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top