> Intuitively i tried join.sec(',') but with no success.
.join('...') is a method that applies to an *array* and produces a
text string composed of all the array values concatenated together,
with the indicated text inserted between values.
For example, if
a=['foo', 'bar', 'baz']
then
a.join('mumble')
results in
'foomumblebarmumblebaz'
and
a.join(', ')
results in
'foo, bar, baz'
You can even use join to build a space-separated, bracketed list from
an array of strings, like this:
'[['+a.join(']] [[')+']]'
enjoy,
-e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---