• Do
not register here on develop.twiki.org, login with your twiki.org account.
• Use
Item7848 for generic
doc work for TWiki-6.1.1. Use
Item7851 for doc work on
extensions that are not part of a release.
More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
• Does this site look broken?. Use the LitterTray web for test cases.
Item6504: Add empty ($nop) separator to LISTJOIN
Item Form Data
AppliesTo: |
Component: |
Priority: |
CurrentState: |
WaitingFor: |
TargetRelease |
ReleasedIn |
Extension |
SpreadSheetPlugin |
Enhancement |
Closed |
|
patch |
5.0.1 |
Detail
The new
$nop
token allows one to join a list with an empty separator. For example,
$LISTJOIN($nop, a, b, c)
returns
abc
. Tests:
-
$LISTJOIN($nop, a, b, c)
: abc
-
$LISTJOIN(, a)
: a
-
$LISTJOIN(0, a)
: a
-
$LISTJOIN(, a, b, c)
: a, b, c
-
$LISTJOIN(,a,b,c)
: a, b, c
-
$LISTJOIN(0, a, b, c)
: a0b0c
-
$LISTJOIN(1, a, b, c)
: a1b1c
-
$LISTJOIN($sp, a, b, c)
: a b c
-
$LISTJOIN( , a, b, c)
: a b c
-
$LISTJOIN( , a, b, c)
: a b c
--
TWiki:Main/PeterThoeny
- 26 Jun 2010