You are here:
Foswiki
>
System Web
>
Macros
>
VarSPACEOUT
E
dit
A
ttach
Tags:
create new tag
,
view all tags
#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: =%<nop>SPACEOUT{ "%<nop>TOPIC%" }%= * Expands to: =%SPACEOUT{ "%INCLUDINGTOPIC%" }%= * Supported parameters: | *Parameter:* | *Description:* | *Default:* | | =separator= | The separator to put between words e.g. =%<nop>SPACEOUT{"DogsCatsBudgies" separator=", "}%= -> %SPACEOUT{"DogsCatsBudgies" separator=", "}% | ' ' | <blockquote class="foswikiHelp">%T% 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"}%]]</blockquote> * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarSPACEDTOPIC][SPACEDTOPIC]], [[SpreadSheetPlugin#FuncPROPERSPACE][$PROPERSPACE()]] of SpreadSheetPlugin
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 09 Jan 2009,
ProjectContributor
System
Log In
or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Applications
ClassificationApp
Extensions
Main
System
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback