Template:Str sp2us/doc

From Ring of Brodgar
< Template:Str sp2us
Revision as of 00:23, 4 February 2017 by Ricky (talk | contribs) (Reverted edits by Ricky (talk) to last revision by MvGulik)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Info

General template to change Spaces to Underscores.
Limited to around ?(1000) characters. (might be 1000 Unicode bytes)
Ignores &nbsp; type space. (Which seems fine at this point)
Used in conjunction with Str_us2sp template to easily maintain normal in-string spaces, when needed.

Usage

{{Str_sp2us|String}}

Example

{{Str_sp2us|Some string with spaces}}
Output: Some_string_with_spaces