Sorry, Paul - I suspect I had seen that before, but forgotten it.

It was a good idea back then, and still is :-)


Though, if we are going to add some form of "with colkeys", I believe there should be a version which says that the first line of the input contains the column keys; thus you could do

Split X indexed using cr and tab with colKeys tColumns and tColumns contains the column keys
or simply
Split X indexed using cr and tab with colKeys and the first line of X contains the column keys (and line 1 is omitted from the results)

If no-one tells me that's crazy (and why), I'll go add that to the feature request.

Alex.




On 13/06/2016 14:10, Paul Dupuis wrote:
On 6/13/2016 7:45 AM, Alex Tweedly wrote:
Perhaps a more general feature requests would be to extend the 'split'
command, so that it would parse by Primary and Secondary delimiters
into numerically indexed arrays ?  (using a new optional keyword
"completely" ... :-)
See http://quality.livecode.com/show_bug.cgi?id=9950

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to