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:

searchable list archive (1997) Re:no [search] with NT (1997) Permissions (2000) [Fileinfo] Context (2000) WebDNA integrated with Active Directory? (2004) greater than or equal to (1997) Spaces inside [AppendFile] (1998) foreign character sets and conversions (1998) OK, here goes... (1997) Separate SSL Server (1997) [OT] - Block Traffic to DevBox (2003) BugNote#2 - debugwindow.db seems to be missing ... (2000) Order not created error (1997) More Applescript (1997) WCS Newbie question (1997) Robots fill event log (1997) Generating unique SKU from [cart] - FIXED! (1997) [defined]ish (1997) Plugin or CGI or both (1997) Hiding the URL(was Cart ID Duplication) (2001)