.
.   
NEdit.org
   .

Home
 - News - Download - Documentation - Search - FTP     
.
.
  

pageTitle Convert text to HTML table

[Back]

An ASCII table with text columns separated by

Tabs is converted to a HTML table. Accordingly, every new line generates a new table row.

Requires selection

replace_in_selection ("(^.*$)", "<TR><TD>&", "regex")
replace_in_selection("\t", "</TD><TD>")
replace_in_selection("\n", "</TD></TR>\n")
selection = get_selection()
replace_selection("<TABLE>\n" selection "</TABLE>")
deselect_all()
[Back]

. Released on  Wed, 21 Nov 2001  by C. Denat  

  
Visit our sponsor
Check Metrolink

© NEdit.org
1999-2001
All rights reserved


.