Re: [WebDNA] How to stop cutting a word

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100199
interpreted = N
texte = [text show=f]BODY=MacBook Air takes laurels in three-way usability competition Of three ultrathin portables - MacBook Air, Toshiba Portege, and Lenovo ThinkPad - which is the most usable? To find out, Computerworld turned to usability experts and 20 impartial testers. Those testers, David Haskin relates, found MacBook Air the most usable, the most fun, and the best value of the three. In fact, they made MacBook Air "the clear winner when asked which laptop they'd purchase." Pro Tip of the Week: Become a Spaces Cadet When open windows start piling up on your desktop, Mac OS X Leopard provides a great way to establish control. Spaces. How can Spaces help you get more organized? Find out by reading the latest Pro Tip of the Week.[/ text] [GETCHARS start=1&end=200&trim=both][REMOVEHTML][Body][/REMOVEHTML][/ GETCHARS] Returns: MacBook Air takes laurels in three-way usability competition Of three ultrathin portables - MacBook Air, Toshiba Portege, and Lenovo ThinkPad - which is the most usable? To find out, Computerworld tur I think you are just getting lucky :) - Charles On Jul 3, 2008, at 9:16 AM, Frank Nordberg wrote: > Stuart Tremain wrote: > >> It is meant to cut off a block of text between char 220 to 260 but >> only at a space, ie not cutting a word in half > > This is the code I use for a similar purpose: > > [GETCHARS start=1&end=200&trim=both][REMOVEHTML][Body][/REMOVEHTML][/ > GETCHARS] > > It seems to work fine but looking at it now, I can't understand why. > According to the WebDNA documentation the "trim=both" parameter only > removes spaces that may have ended up at the beginning or end of the > string but it apparently it's much more useful than that, removing > incomplete words from the ends of the string as well. > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] How to stop cutting a word ("William DeVaul" 2008)
  2. Re: [WebDNA] How to stop cutting a word (Matthew Bohne 2008)
  3. Re: [WebDNA] How to stop cutting a word (Frank Nordberg 2008)
  4. Re: [WebDNA] How to stop cutting a word (Frank Nordberg 2008)
  5. Re: [WebDNA] How to stop cutting a word (Charles Kline 2008)
  6. Re: [WebDNA] How to stop cutting a word (Stuart Tremain 2008)
  7. Re: [WebDNA] How to stop cutting a word (Frank Nordberg 2008)
  8. [WebDNA] How to stop cutting a word (Stuart Tremain 2008)
[text show=f]BODY=MacBook Air takes laurels in three-way usability competition Of three ultrathin portables - MacBook Air, Toshiba Portege, and Lenovo ThinkPad - which is the most usable? To find out, Computerworld turned to usability experts and 20 impartial testers. Those testers, David Haskin relates, found MacBook Air the most usable, the most fun, and the best value of the three. In fact, they made MacBook Air "the clear winner when asked which laptop they'd purchase." Pro Tip of the Week: Become a Spaces Cadet When open windows start piling up on your desktop, Mac OS X Leopard provides a great way to establish control. Spaces. How can Spaces help you get more organized? Find out by reading the latest Pro Tip of the Week.[/ text] [GETCHARS start=1&end=200&trim=both][removehtml][Body][/REMOVEHTML][/ GETCHARS] Returns: MacBook Air takes laurels in three-way usability competition Of three ultrathin portables - MacBook Air, Toshiba Portege, and Lenovo ThinkPad - which is the most usable? To find out, Computerworld tur I think you are just getting lucky :) - Charles On Jul 3, 2008, at 9:16 AM, Frank Nordberg wrote: > Stuart Tremain wrote: > >> It is meant to cut off a block of text between char 220 to 260 but >> only at a space, ie not cutting a word in half > > This is the code I use for a similar purpose: > > [GETCHARS start=1&end=200&trim=both][removehtml][Body][/REMOVEHTML][/ > GETCHARS] > > It seems to work fine but looking at it now, I can't understand why. > According to the WebDNA documentation the "trim=both" parameter only > removes spaces that may have ended up at the beginning or end of the > string but it apparently it's much more useful than that, removing > incomplete words from the ends of the string as well. > Charles Kline

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:

The Form authentication trick (2000) All choices on IE different than Netscape (1997) [WebDNA] Emailer & SMTP (2009) Which Version? 5.1 or 6.0? (2004) HomePage Caution (1997) RAIC and WebCAT (1999) I think WebDNA-Talk died ... :( (1997) Total found of each unique field (2003) quantity minimum problem (1997) Extra Text Fields (was Another question) (1997) RE: creating writefile data from a nested search (1997) no global [username] or [password] displayed ... (1997) emailer w/F2 (1997) Bill To - Ship To Information display (1997) Physical Security for WebCatalog Directories (1997) [sendmail] questions... (1997) vs (1997) Frames and WebCat (1997) Setting up shop (1997) ImageMagick (2005)