$:/core/modules/parsers/csvparser.js
var columns = lineText.split(",");
var columns = lineText.split("#");
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ecfea85e-b097-4c48-a120-96dca361ee29o%40googlegroups.com.
<table>
<$list filter="[[TransactionHistory.csv]get[text]splitregexp[\n]]" variable=row>
<tr>
<$list filter="[<row>split[,]]" variable=cell>
<td><<cell>></td>
</$list>
</tr>
</$list>
</table>
If you paste the content of a csv file into a tiddler, or drop it on the wiki it is imported as csv. It is then surprisingly simple to parse it into separate tiddlers or directly to display a table. No extra manual work.
<table>
<$list filter="[[TransactionHistory.csv]get[text]splitregexp[\n]]" variable=row>
<tr>
<$list filter="[<row>split[,]]" variable=cell>
<td><<cell>></td>
</$list>
</tr>
</$list>
</table>
foo, bar, "baz, has a comma", mumble, frotz, "gronk has one, too", snork, snerfle
baz, has a comma
gronk has one, too
foo, bar, "baz, has ""a"" comma", mumble, ""frotz"", "gronk has ""one quote, too", snork, snerfle
baz, has "a" comma
"frotz"
gronk has "one quote, too
foo, bar, "baz, has ""a"" comma", "mumble
""two"" lines, and a comma", ""frotz"", "gronk has ""one quote, too", snork, snerfle
mumble
"two" lines, and a comma
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/dc9f599f-0cfa-42e4-aaa0-a99419ba8d45o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4874fef6-a93d-4a93-80b0-31c1ea38ebf7o%40googlegroups.com.
.hide-csv-controls .tc-csv-options { display: none; }
.hide-csv-controls .tc-csv-controls { display: none; }
```To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/83d0b67c-437a-428f-8a66-f6ceb49290afn%40googlegroups.com.
Once again thanks for the jasonmangler plugin - I absolutely love it.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f6569c0d-81eb-4d28-922f-35e4b92156c5o%40googlegroups.com.