CSV to HTML translation: Difference between revisions

Content added Content deleted
(→‎{{header|J}}: Add draft)
m (→‎{{header|J}}: display output using lang html)
Line 133: Line 133:
)</lang>
)</lang>


<pre> makeHTMLtablefromCSV csvstrng
<lang html> makeHTMLtablefromCSV csvstrng
<table><tr><td>Character</td><td>Speech </td></tr>
<table><tr><td>Character</td><td>Speech </td></tr>
<tr><td>The multitude</td><td>The messiah! Show us the messiah! </td></tr>
<tr><td>The multitude</td><td>The messiah! Show us the messiah! </td></tr>
Line 140: Line 140:
<tr><td>Brians mother</td><td>I'm his mother; that's who! </td></tr>
<tr><td>Brians mother</td><td>I'm his mother; that's who! </td></tr>
<tr><td>The multitude</td><td>Behold his mother! Behold his mother! </td></tr>
<tr><td>The multitude</td><td>Behold his mother! Behold his mother! </td></tr>
</table></pre>
</table></lang>


=={{header|OCaml}}==
=={{header|OCaml}}==