Re: Wrapping text

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17392
interpreted = N
texte = >I am trying to wrap paragraphs of text, the paragraphs could be 50 words to >200 or more words. > >In order to make it format several lines of text I will have to do >something like Ken did last night: >------------- >[math]start=1[/math][math]end=74[/math][loop start=1&end=[format >0f][math]([countChars][yourFieldNameHere][/countchars]/74)+1[/math][/format]][ge >tchars >start=[math]start[/math]&end=[math]end[/math]][yourFieldNameHere][/getchars][mat >h]start=start+end[/math][math]end=end+end[/math] >[/loop] >------------- > >Seems like a lot of extra processing when combined with several [search]'s >and other commands going on. My response above was designed to format text that's already been saved into a database. But if you want to format text that hasn't been entered into the db yet -- or if you want to pre-format it before it goes into the db -- there's another way to do it:1- Set the