Hello there,

I can't understand why 'join' does not result in the comma being added
to 's'.
What's missing in my understanding?

best wishes

ALex

<script>
var out = [];
var tids=store.getTaggedTiddlers('Q');
for (var i=0; i<tids.length; i++) {
var prim=[store.getValue(tids[i].title ,"primary")];
var sec=[store.getValue(tids[i].title ,"secondary")];
var s=sec.join(',');
var d='|[['+tids[i].title+']] |' +prim+'| ' +s+ '|';
out.push(d);
}
out.push('|Q|Primary|Secondary|h');
return out.join('\n');
</script>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to