I have a script which takes data out of a field in a database and plops it into my web page like so:
Do While not rsLinks.EOF
Response.Write "<font color='#800000' size='2'>" & "<a>" & rsLinks("LinkName"
& "</a>" & "<br>" & "</font>"
rsLinks.MoveNext
Loop
But some of the info in the field is like 200 characters long.
What I would like to do is cut off what gets printed to the browser at 60 characters and append a litte "..." thingy at the end to indicate that there is more to the desciption.
Not sure how to do it. Anyone know how, or can point me to an example of something similar? How much more water would there be in the ocean if it weren't for sponges?
Do While not rsLinks.EOF
Response.Write "<font color='#800000' size='2'>" & "<a>" & rsLinks("LinkName"
rsLinks.MoveNext
Loop
But some of the info in the field is like 200 characters long.
What I would like to do is cut off what gets printed to the browser at 60 characters and append a litte "..." thingy at the end to indicate that there is more to the desciption.
Not sure how to do it. Anyone know how, or can point me to an example of something similar? How much more water would there be in the ocean if it weren't for sponges?