lets say I have a URL in a string like "http://www.blabla.com/adf/adf/asdf/asdf/asdf/asdf.asp"
how can I "trim" everything before the 3rd slash?
Edit: I'm using ASP w/ vbscript
Printable View
lets say I have a URL in a string like "http://www.blabla.com/adf/adf/asdf/asdf/asdf/asdf.asp"
how can I "trim" everything before the 3rd slash?
Edit: I'm using ASP w/ vbscript
Figured it out:
VB Code:
dbErrFileSlash = Instr(1, dbErrFile, ".com") + 3 'find character position after .com dbErrFile = right ( dbErrFile, (len(dbErrfile) - dbErrFileSlash)) 'cut everything before the first /