diff -r 000000000000 -r 414e01d06fd5 data/TWiki/VarSPACEOUT.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/TWiki/VarSPACEOUT.txt Sat Jan 26 15:50:53 2008 +0100 @@ -0,0 +1,14 @@ +%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.1" version="2"}% +%META:TOPICPARENT{name="TWikiVariables"}% +#VarSPACEOUT +---+++ SPACEOUT{"string"} -- renders string with spaces inserted in sensible places + * Inserts spaces after lower case letters that are followed by a digit or a capital letter, and after digits that are followed by a capital letter. + * Useful for spacing out WikiWords + * Syntax: =%SPACEOUT{ "%TOPIC%" }%= + * Expands to: =%SPACEOUT{ "%INCLUDINGTOPIC%" }%= + * Supported parameters: + | *Parameter:* | *Description:* | *Default:* | + | =separator= | The separator to put between words e.g. %SPACEOUT{"DogsCatsBudgies" separator=", "}% -> %SPACEOUT{"DogsCatsBudgies" separator=", "}% | ' ' | + * %T% Hint: Spaced out !WikiWords are not automatically linked. To SPACEOUT a !WikiWord but preserve the link use "double bracket" format. For example, =[[WebHome][%SPACEOUT{"WebHome"}%]]= expands to [[WebHome][%SPACEOUT{"WebHome"}%]] + * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSPACEDTOPIC][SPACEDTOPIC]], [[SpreadSheetPlugin#FuncPROPERSPACE][$PROPERSPACE()]] of SpreadSheetPlugin +