Recommended: Safety hazards and solutions of ASP+Access With the development of the Internet, web technology is changing with each passing day. Following the General Gateway Interface (CGI), ASP (Active Server Pages) is a typical server-side web design technology and is widely used in online banking, e-commerce, and search engines.
The InstrRev function starts from the last search of the string, and is the preceding string.
Give an example to illustrate its application:
| The following is the quoted content: <% Dim strTXT,pos strTXT=www.CuoXIn.com pos=instrRev(strTXT,.) Response.Write pos %> |
The beginning of our search is in reverse order, from a point before com. The length of the starting character, including this point, has ten characters in total, and the result returned will be 9.
Through this principle, we can obtain file name, domain name suffix name, etc.
| The following is the quoted content: <% Dim aa,bb,cc,dd aa=Request.Servervariables(url) bb=InstrRev(aa,/) cc=len(aa) dd=Right(aa,cc-bb) Response.Write dd %> |
Share: The difference and connection between ASP and JSP I went to the forum today and saw a netizen bluesky asked a question, which is better, ASP or JSP, and what is the difference? There seems to be no thread safety problem for ASP, while there is a thread safety problem for JSP. This does not mean that ASP is good, on the contrary, it means that ASP is not as good as