Hi,
Right now
I run
<hansl
eval strsplit("a;b",";")
hansl>
And got

Array of strings, length 2
[1] "a"
[2] "b"

I absolutely missed when it appeared
So, when?
Oleh

26 січня 2018, 16:31:29, від "Sven Schreiber" <svetosch@gmx.net>:

Am 26.01.2018 um 13:53 schrieb Sven Schreiber:
> Am 25.01.2018 um 21:12 schrieb Allin Cottrell:

>> Perhaps I was being too conservative; if we reckon it's OK to have two 
>> optional arguments to strsplit we could add the separator option. In 
>> that case we might junk linesplit, which isn't in a release at this 
>> point, in favour of strsplit(s,,"\n").
> 
> Yes, why not. What helps tremendously here is the new possibility to 
> (almost) leave out optional args in the middle: it wouldn't be nice to 
> be forced to write strsplit(s, null, ","), but strsplit(s,, ",") is OK I 
> think.

BTW, I just (re-) stumbled over the fact that for example seasonals() 
also has two optional arguments, so there's a precedent.

cheers,
sven
_______________________________________________
Gretl-devel mailing list
Gretl-devel@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel