Ciao a tutti, qualcuno sa come si fa a rimuovere un elemento da una stringa?
ho questo script:
_<%=Replace(rs("titolo")," ","_")%>"><%=rs("categoria")%> » <%=rs("titolo")%>
<%=rs("luogo")%> a <%=rs("citta")%> dal <%=rs("data")%> al <%=rs("fine")%>
--> cosi rendo visibile anche il titolo nell'url.
poi prosegue cosi:
If Not isNumeric(Request("id")) then
id = 0
Else
id = Request("id")
End IF
Set rs = Server.CreateObject("ADODB.Recordset")
Sql ="SELECT * FROM eventi Where id = "& id
rs.Open Sql, cn, 1,3
If Not Rs.Eof then...
--> dovrei eliminare questo pezzo [ _<%=Replace(rs("titolo")," ","_") ] dalla stringa, ho provato con applicatio.contents.remove ma non ha funzionato...
Grazie.

Rispondi quotando