Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
a="Character,Speech
|
||||
The multitude,The messiah! Show us the messiah!
|
||||
Brians mother,<angry>Now you listen here! He's not the messiah;he's a very naughty boy! Now go away!</angry>
|
||||
The multitude,Who are you?
|
||||
Brians mother,I'm his mother;that's who!
|
||||
The multitude,Behold his mother! Behold his mother!";
|
||||
(*Naive*)
|
||||
StringJoin["<table>\n",Map[StringJoin["<tr><td>",#,"</td></tr>\n"]&,
|
||||
StringSplit[StringReplace[a,{","->"</td><td>","<"->"<",">"->">"}],"\n"]]
|
||||
,"</table>"]
|
||||
(*Extra*)
|
||||
StringJoin["<table>\n",StringJoin["<tr><th>",#,"</th></tr>\n"]&[
|
||||
StringSplit[StringReplace[a,{","->"</td><td>","<"->"<",">"->">"}],"\n"]//First]
|
||||
,Map[StringJoin["<tr><td>",#,"</td></tr>\n"]&,
|
||||
StringSplit[StringReplace[a,{","->"</td><td>","<"->"<",">"->">"}],"\n"]//Rest]
|
||||
,"</table>"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue