Anonymous user
CSV to HTML translation: Difference between revisions
→{{header|Lua}}
(added OpenEdge solution) |
|||
Line 1,131:
<tr><td>The multitude</td><td>Behold his mother! Behold his mother!</td></tr>
</table></lang>
<lang lua>FS = "," -- field separator
Line 1,143 ⟶ 1,141:
The multitude,Behold his mother! Behold his mother!
]]
csv = csv:gsub( "<", "<" )
csv = csv:gsub( ">", "&gr;" )
html = { "<table>" }
|