none
[openafs-wiki.git] / TWiki / VarSPACEOUT.mdwn
1 <a name="VarSPACEOUT"></a>
2
3 ### <a name="SPACEOUT{&quot;string&quot;} -- renders st"></a> SPACEOUT\{"string"\} -- renders string with spaces inserted in sensible places
4
5 - 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.
6 - Useful for spacing out [[WikiWords]]
7 - Syntax: `%SPACEOUT{ "%TOPIC%" }%`
8 - Expands to: `%INCLUDINGTOPIC%`
9 - Supported parameters: <table border="1" cellpadding="0" cellspacing="0">
10   <tr>
11     <th bgcolor="#99CCCC"><strong> Parameter: </strong></th>
12     <th bgcolor="#99CCCC"><strong> Description: </strong></th>
13     <th bgcolor="#99CCCC"><strong> Default: </strong></th>
14   </tr>
15   <tr>
16     <td><code>separator</code></td>
17     <td> The separator to put between words e.g. %SPACEOUT{"DogsCatsBudgies" separator=", "}% -&gt; Dogs, Cats, Budgies </td>
18     <td> ' ' </td>
19   </tr>
20 </table>
21 - %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 [[Web Home|Main/WebHome]]
22 - Related: [[SPACEDTOPIC|Main/WebHome#VarSPACEDTOPIC]], [[$PROPERSPACE()|Main/SpreadSheetPlugin#FuncPROPERSPACE]] of [[SpreadSheetPlugin]]