NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item9343: Variation on TRIM to remove all spaces

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement New Extension SpreadSheetPlugin  
TRIM reduces multiple spaces to one space. But there needs to be a variant that removes all spaces, e.g. to turn "Hello, world" into "HelloWorld".

I'm looking for the reverse of PROPERSPACE.

This works:
%CALC{$TRANSLATE($SUBSTITUTE($TRANSLATE(a string with comma, and spaces, $sp$comma, $CHAR(29)$CHAR(30)), $CHAR(29)), $CHAR(30), $comma)}%

but oh my that's too complex!

-- VickiBrown - 16 Jul 2010

There appears to be some capitalisation going on, too. This is an enhancement and requires a FeatureRequest. Please link back to this task when one exists.

-- CrawfordCurrie - 08 Sep 2010

Request filed: TrimAllSpaces

-- VickiBrown - 11 Sep 2010
 

ItemTemplate edit

Summary Variation on TRIM to remove all spaces
ReportedBy VickiBrown
Codebase
SVN Range
AppliesTo Extension
Component SpreadSheetPlugin
Priority Enhancement
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r5 - 13 Mar 2011 - 04:39:32 - GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads