Forums

ASP

This topic is locked

MX - return limited characters

Posted 02 Apr 2003 17:23:50
1
has voted
02 Apr 2003 17:23:50 David Hagelthorn posted:
I'm connected to an access db returning several columns. On my homepage I want to limit the number of characters to 20 from a certain column. Is there a server behaviour which will do this for asp.net? Or alternatively a neat bit of code?

The content is used in its entirety on a separate page - the 'cropped' versions I want are pushers to those areas.

I have found one extension: "Crop Sentence, V1.1.3" which does exactly what I want, but only supports asp

Replies

Replied 02 Apr 2003 18:23:07
02 Apr 2003 18:23:07 Brent Colflesh replied:
Use the cut string function of the language you are using to display the output of the field.

Regards,
Brent

Reply to this topic