ASP/VBScript InStrRev() Returns an integer specifying the start position of the first occurrence of one string within another.
ShotDev Focus:
- Using Asp and InStrRev() function.
Example
asp_instrrev.asp
<% Option Explicit %> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Response.write InStrRev("www.ShotDev.Com","ot")&"<br>" Response.write InStrRev("www.ShotDev.Com","ot","10")&"<br>" %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_instrrev.asp
Screenshot