Re: Wrapping text
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17358
interpreted = N
texte = >I think [GetChars] would not work really as I need. So, I would like to>suggest a [WrapText 80s][/WrapText] or something along those lines be>considered for a future release.Try this, it will probably work, but it will break the lines at exactly 74 characters, which may be in the middle of words:[math]start=1[/math][math]end=74[/math][loop start=1&end=[format 0f][math]([countChars][yourFieldNameHere][/countchars]/74)+1[/math][/format]][getchars start=[math]start[/math]&end=[math]end[/math]][yourFieldNameHere][/getchars][math]start=start+end[/math][math]end=end+end[/math][/loop]Don't change the formatting or you'll end up with extra blank lines ... :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>I think
[getchars] would not work really as I need. So, I would like to>suggest a [WrapText 80s][/WrapText] or something along those lines be>considered for a future release.Try this, it will probably work, but it will break the lines at exactly 74 characters, which may be in the middle of words:
[math]start=1[/math]
[math]end=74[/math][loop start=1&end=[format 0f]
[math](
[countchars][yourFieldNameHere][/countchars]/74)+1[/math][/format]][getchars start=
[math]start[/math]&end=
[math]end[/math]][yourFieldNameHere][/getchars]
[math]start=start+end[/math]
[math]end=end+end[/math][/loop]Don't change the formatting or you'll end up with extra blank lines ... :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
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:
search form problem.. (1997)
WC2.0 Memory Requirements (1997)
Caching [include] files ... (1997)
Server slowing down. (1997)
HTML email (2004)
[LOOKUP] (1997)
Hosting Services (1999)
PCS search results page (1998)
Navigator Parsing (1997)
Cookie Newbie (2002)
Shed some light on web delivery? (2000)
Search returns all, not 20 (1997)
WebDNA 5.1 & public CMS (2003)
Why does this not work? (2002)
[OT] What log analyzer do you use? (2000)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
catagories (1997)
Shipcost lookup? (1997)
[WebDNA] New request for websites that currently run WebDNA (2009)
Associative lookup style? + bit more (1997)