extension of new linesplit() function?
by Sven Schreiber
in git I see that a new function linesplit() is coming: "Returns an
array of strings, one per line in the argument"
Could this get a second optional argument that would override the
newline character for splitting? In extra.gfn we have a very similar
(hansl) function sepstr2arr(): "Transforms comma-separated string to an
array of strings. (The comma as separation character can be overridden
with the sep argument)"
So linesplit(mystring, mysep) would be equivalent to
sepstr2arr(mystring, mysep) and the latter could be retired after
release. Only the comma default would be "lost", but I think that's OK.
5 years, 3 months