Re: Do not truncate a whole word

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59902
interpreted = N
texte = I don't know, how many users per second or minute will be visiting the page you're doing this on? How many times will this be done on each page? I think it's rather foolish to worry about the possible server load before getting the problem resolved in the first place. Chances are that it won't even be noticeable, but even if it is, so what? If the site has anything of value on it in the first place, people will gladly wait an extra second or two for the page to load. >Would that be rather server intensive ?? > >On 05 Nov 2004, at 06:34 PM, Kenneth Grome wrote: > >>Make a list of the words [listwords] then display only the first XX >>of them [showif [index]>XX] then follow the results with a space >>and three dots. >> >> >>>Hi >>> >>>I need a little help here. I want to truncate a paragraph of text >>>but do not want to cut it off mid way through a word. >>> >>>Something like this is not acceptable. >>> >>>should truncate to: >>> >>>Something like this is not ... >>> >>>Rather than: >>> >>>Something like this is not accp ... >>> >>>Any ideas ???? >>> >>>Thanks >>> >>>Stuart Tremain >>>idfk web developments, sydney, australia >>> >>> >>>------------------------------------------------------------- >>>This message is sent to you because you are subscribed to >>> the mailing list . >>>To unsubscribe, E-mail to: >>>To switch to the DIGEST mode, E-mail to >>> >>>Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >>-- >> >>Sincerely, >>Kenneth Grome >>www.kengrome.com >> >>------------------------------------------------------------- >>This message is sent to you because you are subscribed to >> the mailing list . >>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to >> >>Web Archive of this list is at: http://webdna.smithmicro.com/ >> >Regards > >Stuart Tremain >idfk web developments >114a/40 yeo street neutral bay 2089 australia >t +612 9908 2134 >f +612 9908 4837 > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ -- Sincerely, Kenneth Grome www.kengrome.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Do not truncate a whole word ( Brian Fries 2004)
  2. Re: Do not truncate a whole word ( Kenneth Grome 2004)
  3. Re: Do not truncate a whole word ( Steve Craig 2004)
  4. Re: Do not truncate a whole word ( Stuart Tremain 2004)
  5. Re: Do not truncate a whole word ( Kenneth Grome 2004)
  6. Do not truncate a whole word ( Stuart Tremain 2004)
I don't know, how many users per second or minute will be visiting the page you're doing this on? How many times will this be done on each page? I think it's rather foolish to worry about the possible server load before getting the problem resolved in the first place. Chances are that it won't even be noticeable, but even if it is, so what? If the site has anything of value on it in the first place, people will gladly wait an extra second or two for the page to load. >Would that be rather server intensive ?? > >On 05 Nov 2004, at 06:34 PM, Kenneth Grome wrote: > >>Make a list of the words [listwords] then display only the first XX >>of them [showif [index]>XX] then follow the results with a space >>and three dots. >> >> >>>Hi >>> >>>I need a little help here. I want to truncate a paragraph of text >>>but do not want to cut it off mid way through a word. >>> >>>Something like this is not acceptable. >>> >>>should truncate to: >>> >>>Something like this is not ... >>> >>>Rather than: >>> >>>Something like this is not accp ... >>> >>>Any ideas ???? >>> >>>Thanks >>> >>>Stuart Tremain >>>idfk web developments, sydney, australia >>> >>> >>>------------------------------------------------------------- >>>This message is sent to you because you are subscribed to >>> the mailing list . >>>To unsubscribe, E-mail to: >>>To switch to the DIGEST mode, E-mail to >>> >>>Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >>-- >> >>Sincerely, >>Kenneth Grome >>www.kengrome.com >> >>------------------------------------------------------------- >>This message is sent to you because you are subscribed to >> the mailing list . >>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to >> >>Web Archive of this list is at: http://webdna.smithmicro.com/ >> >Regards > >Stuart Tremain >idfk web developments >114a/40 yeo street neutral bay 2089 australia >t +612 9908 2134 >f +612 9908 4837 > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ -- Sincerely, Kenneth Grome www.kengrome.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Uh...can someone help me out with the b10? (1997) WebCat for Unix?? (1997) [OT] Robust order processing (2003) delete fails (2000) Format of Required fields error message (1997) [taxRate] [TaxTotal] ? (1997) [ModDate] & [ModTime] ? (1997) Using WC for Bulk Emailings (1997) RE: type 2 errors with ssl server (1997) Three new problems ... (1997) email code (1998) Password protection (Was: Lost Password?) (2002) [WebDNA] WebDNA 4.5.1 process DBServer.exe memory allocation is skyrocketing at random intervals. (2008) [WebDNA] maybe silly suggestion? [founditems] (2015) oops private message leaked into talk list (1997) emailer on Windows Beta 18 (1997) [WebDNA] WebDNA staging server (2008) Question about replacing words (1998) multiple search of same field (1999) Performance of this mailserver (2000)