> I'm doing a page where the front page will show "news"
> stories. What I'd
> like is if the story is longer than X words/chars/etc, the
> index page will
> show the first X words, then a link for the full story.
>
> Does anyone have a good idea on how to split after a certain number of
> wor
> I'm doing a page where the front page will show "news" >
stories. What I'd > like is if the story is longer than X
> words/chars/etc, the index page will > show the first X
> words, then a link for the full story. >
> Does anyone have a good idea on how to split after a >
certain number of
> I'm doing a page where the front page will show "news" stories. What I'd
> like is if the story is longer than X words/chars/etc, the index page will
> show the first X words, then a link for the full story.
>
> Does anyone have a good idea on how to split after a certain number of
> words?
5
On Thursday 25 January 2001 21:06, H. Wade Minter wrote:
> Does anyone have a good idea on how to split after a certain number of
> words?
Attached is code that semi-intelligently limits strings to a certain
number of characters. Perhaps that helps you.
--
Christian Reiniger
LGDC Webmaster (ht
4 matches
Mail list logo