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:
TCPConnect / Current Temperature (2004)
Questions To Answer (1997)
three cart questions (1997)
Help! WebCat2 bug (1997)
About WebDNA (2006)
price formula (1999)
Individual Tax on Items (1998)
Quick source question (2002)
quotation marks needed? (2000)
log files (1998)
Using Applescript to process WebCatalog functions (1998)
Question from a Neebie (2000)
Great product and great job ! (1997)
WebCat2b15MacPlugin - [protect] (1997)
Re(2): Forcing Search w/ URL (1999)
SKU (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
Undeclared variables (2004)
WebCat2: Items xx to xx shown, etc. (1997)
webcat/webmerchant docs (1997)