I want to do META keywords, for example, my title shows that the ASP code is: <%=objrs("Title")%>
If <%=objrs("Title")%> is displayed in the final title like "How to implement string segmentation?"
I want to divide the string into two Chinese characters, such as "character, string, string division, segmentation, splitting, cutting, how, how, what reality, implementation"
So how do I write ASP code?
Thank you so much.
The code copy is as follows:
dimi title
title=objrs("Title")
fori=0tolen(Title")step2
response.writemid(title,i,2)&","
next
The code copy is as follows:
<%
dimobjRs,strSql
SetobjRs=Server.CreateObject("ADODB.RecordSet")
strSql="selectTitle,ContentfromTable"
objRs.OpenstrSql,strConn,1,3
ifobjRs.Eofthen
response.write"<center>No this data</center>"
else
%>
<%
dimi title
title=objrs("Title")
fori=1tolen(Title")-2
response.writemid(title,i,2)&"'This is just a demonstration output, you have to assign it to the META variable yourself, Sweat
next
%>
Added in front of META