Item1374: Add New New $EMPTY(), $LEFTSTRING(), $RIGHTSTRING(), SUBSTRING(), $INSERTSTRING() functions to SpreadSheetPlugin

Priority: Enhancement
Current State: Closed
Released In: 1.0.5
Target Release: patch
Applies To: Extension
Component: SpreadSheetPlugin
Branches:
Reported By: KennethLavrsen
Waiting For:
Last Change By: KennethLavrsen
SpreadSheetPlugin in the (tm)wiki will soon be released with New New $EMPTY(), $LEFTSTRING(), $RIGHTSTRING(), SUBSTRING(), $INSERTSTRING() functions

We should add this to remove an excuse why you cannot upgrade to Foswiki

And besides they are useful features.

And the code is easy to port over - with an extra security audit naturally.

I will also raise a feature proposal

REF TWikibug:Item6222

-- KennethLavrsen - 26 Mar 2009

Code added assuming approval of SpreadSheetPluginFourNewFunctions

I implemented the new functions but changed the code to be compatible in normal cases but better behaving in the exception cases.

The code uses same eval format as rest of plugin.

This is to suppress code barfing when formulars have bad in-data.

The use of eval is safe as long as the string is within single quotes.

I wanted this update ready to compete with the other project and they release now.

-- KennethLavrsen - 29 Mar 2009

ItemTemplate edit

Summary Add New New $EMPTY(), $LEFTSTRING(), $RIGHTSTRING(), SUBSTRING(), $INSERTSTRING() functions to SpreadSheetPlugin
ReportedBy KennethLavrsen
Codebase 1.0.4
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component SpreadSheetPlugin
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins distro:25e52a342873 distro:afe24b9e7529
TargetRelease patch
ReleasedIn 1.0.5
Topic revision: r7 - 25 Apr 2009, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License