moiseszaragoza
10-12-2010, 05:13 PM
I was wondering how i can find if a string contains another str
<%@Language=JScript%>
<%
mypage = "/site1/index.asp"
if (mypage.Contains ("site1")){
Response.Write("site1")
}else{
Response.Write("other site ")
}
%>
Error
Microsoft JScript runtime error '800a01b6'
Object doesn't support this property or method
/app_new/test/page.asp, line 4
<%@Language=JScript%>
<%
mypage = "/site1/index.asp"
if (mypage.Contains ("site1")){
Response.Write("site1")
}else{
Response.Write("other site ")
}
%>
Error
Microsoft JScript runtime error '800a01b6'
Object doesn't support this property or method
/app_new/test/page.asp, line 4