To anyone else who had the same problem, I thought i'd share the solution
that was passed on to me. It was suggested that counting the # of characters
in a string would work, and it does, but a better way to do it as not to cut
yourself off in mid sentence is to count the # of actual words.
-- sn
On 18-Jul-2001 chris schneck wrote:
> Hey all,
> was curious if anyone has had experience with limiting the amount of text
> pulled from a database and placing a link and the end of the excessive text
> line.
> ie. the description of a product could be 800 characters long, how can it be
> shorten
Hey all,
was curious if anyone has had experience with limiting the amount of text
pulled from a database and placing a link and the end of the excessive text
line.
ie. the description of a product could be 800 characters long, how can it be
shortened to 50 -100 characters with a link to "read mor
3 matches
Mail list logo