Re: Wrapping text
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17382
interpreted = N
texte = I am trying to wrap paragraphs of text, the paragraphs could be 50 words to200 or more words.In order to make it format several lines of text I will have to dosomething like Ken did last night:-------------[math]start=1[/math][math]end=74[/math][loop start=1&end=[format0f][math]([countChars][yourFieldNameHere][/countchars]/74)+1[/math][/format]][getcharsstart=[math]start[/math]&end=[math]end[/math]][yourFieldNameHere][/getchars][math]start=start+end[/math][math]end=end+end[/math][/loop]-------------Seems like a lot of extra processing when combined with several [search]'sand other commands going on.>>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.>>What is missing from [GetChars] that makes it unsuitable?>>Technical Support | ==== eCommerce and Beyond ====>Pacific Coast Software | WebCatalog, WebMerchant,>11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,>San Diego, CA 92128 | Typhoon>619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/Britt T.--------------------------------------------------------|| Britt@fishingworld.com || Britt@easttexas.com ||--------------------------------------------------------|| World Masters - || P.O. Box 1989 |||| Graphic Designs, || Lindale, TX 75771 |||| Web Site Development, || Phone: (903) 882-8877 |||| Web Site Hosting. || Fax: (903) 882-3110 ||--------------------------------------------------------
Associated Messages, from the most recent to the oldest:
I am trying to wrap paragraphs of text, the paragraphs could be 50 words to200 or more words.In order to make it format several lines of text I will have to dosomething like Ken did last night:-------------
[math]start=1[/math]
[math]end=74[/math][loop start=1&end=[format0f]
[math](
[countchars][yourFieldNameHere][/countchars]/74)+1[/math][/format]][getcharsstart=
[math]start[/math]&end=
[math]end[/math]][yourFieldNameHere][/getchars][math]start=start+end[/math]
[math]end=end+end[/math][/loop]-------------Seems like a lot of extra processing when combined with several
[search]'sand other commands going on.>>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.>>What is missing from
[getchars] that makes it unsuitable?>>Technical Support | ==== eCommerce and Beyond ====>Pacific Coast Software | WebCatalog, WebMerchant,>11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,>San Diego, CA 92128 | Typhoon>619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/Britt T.--------------------------------------------------------|| Britt@fishingworld.com || Britt@easttexas.com ||--------------------------------------------------------|| World Masters - || P.O. Box 1989 |||| Graphic Designs, || Lindale, TX 75771 |||| Web Site Development, || Phone: (903) 882-8877 |||| Web Site Hosting. || Fax: (903) 882-3110 ||--------------------------------------------------------
Britt T.
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:
Forms Search Questions (1997)
Donovans Theorem (2003)
problem (how to mark orders as 'opened') (1998)
writing checkboxes to a database (2000)
Error Lob.db records error message not name (1997)
UPPERCASE (1997)
FTP via Shell Question (2005)
[subtotal] problems -- help? (1998)
Getting total number of items ordered (1997)
WC2.0 Memory Requirements (1997)
.. more on sliding discounts... (1997)
WebCat2b12 - nesting [tags] (1997)
SiteEdit Pro Update Announcement (1997)
MATH (1998)
Problem (1997)
Add htmlarea 3 to SiteBuilder (2004)
WebCat2 Append problem (B14Macacgi) (1997)
OT New use for WebCat (1998)
Fwd: [ANNOUNCE] BIAP W*API Patch plug-in (1998)
[WebDNA] crashing loop (2011)