Sent this to alt... by mistake - let's try here.
In Perl, I have:
my ($title, $chan, $call, $sTime, $dur) = split /~~/, $el;
var flds = el.split('~~'); // split into array, then to vars
var title = flds;
var chan = flds;
var call = flds;
var sTime = flds;
var dur = flds;
I was hoping for a more straightforward/cleaner syntax - something like:
var (title, chan, call, sTime, dur) = el.split('~~'); // do it all in one like Perl
Any way to do that?
|Location:||Huddersfield, West Yorkshire, UK|
|Nodes:||16 (2 / 14)|