[thelist] ASP: First 100 words in a record
Robert Goodyear
rob_goodyear at yahoo.com
Wed Jun 19 16:15:01 CDT 2002
Yes, that's what I am proposing with my nested loops
to skip through the html tag delimiters. A simple
count for spaces would not account for the html
coding.
/rg
--- Michael Mell <mike at nthwave.net> wrote:
>
> not sure about efficiency, but if you're going the
> loop route, you might
> as well check each character from the beginning,
> counting the word
> boundary characters as you go. When you hit 100 word
> boundary
> characters, you've got your first 100 words.
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
More information about the thelist
mailing list