On Tue, Jun 22, 2004 at 11:58:21AM -0500, Matt Murphy wrote:
> Richard Hoffbeck wrote:
> 
> >Change the newlines to <BR> or <P> when you write it to the table cell.
> 
> 	But I can't figure out how to tell where to insert the <BR />'s upon 
> insert... is there a way to find line breaks in a string? search and 
> replace?

The string has \n's in it, but html ignores them.  you need to either
s/\n/<br>/ like Richard suggested.  Or, an easier way, is to just print
the string in <pre></pre> tags :)

dan

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list