clipka <ano### [at] anonymousorg> wrote:
> Accordin to the OP it isn't really CSV, but rather tab-separated (or
> blank-separated?) values.
> These are /not/ ideally suited for the use with `#read`.
It looks like space or tab-delimited.
Perhaps the OP could link to the source.
Opening in Excel or OpenOffice and saving as true CSV ought to do it.
He's also going to need to fix that ID string with something like (untested):
#declare ID = substr(S3,strlen(S1),strlen(S3)-strlen(S1))
where S1 is the mode, and S3 is the ID.
(BTW, I didn't see a dedicated entry for "strlen()" in the F1 documentation
section on String Functions. Perhaps I overlooked it...)
Post a reply to this message