I prefer Ovatvvon's method. Especially when doing forums where the user will want to paste code for others to view.
Also, you can combine it with another function that replaces another set of strings with their HTML equivalents. This would enable you to give the user some formatting control...
I want to find a quick way of removing multiple instances of items in an array so that I get a distinct list of numbers.
I thought of using a loop but I wondered if there was a quicker way. Another way I thought of was to put it into a temporary table in a db, then use select distinct to pull...
have you had any luck with this? I'm still stumped and it appears it's not as common a problem as I thought it would be.
Whenever I have posted this, I've had "experts" claim it is my code that's causing it, or a browser setting, but they've not been able to pinpoint anything...
Yes, it does make a difference (so I've read) especially on large pages.
Take the following example. They recommend doing this:
<%
' PULL RECORDS FROM A TABLE AND DISPLAY IN A TABLE ROW
DO WHILE NOT RSData.EOF
Response.Write "<TR><TD>" & RSData("Field1") &...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.