Only today can this function be used to find specific characters or strings.
The following is a simple example:
<% @ Language = "VBScript" codePage = "65001" %>
<% Response. codePage = 65001%>
<% Response. charset = "UTF-8" %>
<%
Dim content_text, searchword_text
'Content is the content and searchword is the text to be searched.
Sub search (content, searchword)
If instr (content, searchword)> 0 then
Response. Write ("find ")
Else
Response. Write ("not found ")
End if
End sub
Content_text = "Search for collectedCodeAnd tutorials are collected by Hui Nan at ordinary times. The goal of the website is to help you at the same time. The system of this website uses a system written by Hui Nan, which has been written for half a year, focus onProgramIn terms of optimization, the program has been updated. You are welcome to join the Q group for discussion and study. "
Searchword_text = "Search"
Call search (content_text, searchword_text)
%>