I just discovered the function of this function today. It turns out that you can find specific characters or strings.
Here is a simple example I wrote:
<%@LANGUAGE="VBSCRIPT"CODEPAGE="65001"%>
<%Response.CodePage=65001%>
<%Response.Charset="UTF-8"%>
<%
dimcontent_text,searchword_text
'content is content, searchword is the text to search
subsearch(content,searchword)
ifInStr(content,searchword)>0then
Response.Write("Finished")
Else
Response.Write("Not Found")
Endif
endsub
content_text="Search Bar's code and tutorials are collected by Ah Huinan for daily learning. The goal of the website is to facilitate yourself and to facilitate everyone. This website system uses the system written by Ah Huinan himself. The system has been written for half a year, and the main time is to optimize the program. The program has been updated all the time. Everyone is welcome to join the Q group to discuss and learn."
searchword_text="Search"
callsearch(content_text,searchword_text)
%>