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



 Loading ...
 Loading ...