What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] How to stop cutting a word

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100195
interpreted = N
texte = 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. Frank Nordberg http://www.musicaviva.com http://stores.ebay.com/Nordbergs-Music-Store?refid=store 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)
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. Frank Nordberg http://www.musicaviva.com http://stores.ebay.com/Nordbergs-Music-Store?refid=store Frank Nordberg

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:

Quotation Marks in Database (1998) Looking for 5 to 12 shops with 3 URLs & statements (1997) RE: [WebDNA] macOS 10.13.3 and WebDNA Mac Server 8.5.1 - hick-up (2019) Shopping cart now bad (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) [WebDNA] Bullet proof dynamic tables (2009) Mac 2.1b2 speed (1997) Rhapsody? (1997) vs (1997) URGENT: WebDNA Server Not Running (2003) Preserving form data (1999) Combining search criteria (2000) Server IP address? (1998) Grep to remove all characters except digits? (2002) too many nested tags ... (1997) 4.0 Plugin under Webten (2000) [WebDNA] output of all non alphaNumeric characters? (2009) RE: Purchased cart being overwritten (1997) creator code (1997) Stopping bad HTML propagation ? (1997)