• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic 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

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

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

ItemTemplate
Summary Add empty ($nop) separator to LISTJOIN
ReportedBy TWiki:Main.PeterThoeny
Codebase 5.0.0, ~twiki4
SVN Range TWiki-5.0.0, Sun, 20 Jun 2010, build 19085
AppliesTo Extension
Component SpreadSheetPlugin
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:19126 TWikirev:19127
TargetRelease patch
ReleasedIn 5.0.1
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2010-10-12 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback