Am 08.10.24 um 18:13 schrieb juh+ntg-context--- via ntg-context:
This works perfectly with commas and doublequotes. Is it possible to configure the splitter so that it works with semicolons as column separator and no char as data separator?

Something like:

foo;bar;baz
second foo; second bar; second baz

Use the source, juh!

In
https://source.contextgarden.net/tex/context/base/mkiv/util-prs.lua?search=rfc4180splitter#l580
you can find that rfc4180splitter takes a "specification" parameter that looks like { separator = ",", quote = '"' }.

I didn’t check if it works without quote character.

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to