data/TWiki/VarSPACEOUT.txt
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/VarSPACEOUT.txt	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.1" version="2"}%
     1.5 +%META:TOPICPARENT{name="TWikiVariables"}%
     1.6 +#VarSPACEOUT
     1.7 +---+++ SPACEOUT{"string"} -- renders string with spaces inserted in sensible places
     1.8 +   * 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.
     1.9 +   * Useful for spacing out WikiWords
    1.10 +   * Syntax: =%<nop>SPACEOUT{ "%<nop>TOPIC%" }%=
    1.11 +   * Expands to: =%SPACEOUT{ "%INCLUDINGTOPIC%" }%=
    1.12 +   * Supported parameters:
    1.13 +     | *Parameter:* | *Description:* | *Default:* |
    1.14 +     | =separator= | The separator to put between words e.g. %<nop>SPACEOUT{"DogsCatsBudgies" separator=", "}% -> %SPACEOUT{"DogsCatsBudgies" separator=", "}% | ' ' |
    1.15 +   * %T% Hint: Spaced out !WikiWords are not automatically linked. To SPACEOUT a !WikiWord but preserve the link use "double bracket" format. For example, =[<nop>[WebHome][%<nop>SPACEOUT{"Web<nop>Home"}%]]= expands to [[WebHome][%SPACEOUT{"WebHome"}%]]
    1.16 +   * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSPACEDTOPIC][SPACEDTOPIC]], [[SpreadSheetPlugin#FuncPROPERSPACE][$PROPERSPACE()]] of SpreadSheetPlugin
    1.17 +