Template:Trim/doc

From HPC Wiki
Revision as of 10:12, 16 December 2016 by Bgo (talk | contribs) (Protected "Template:Trim/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to:navigation Jump to:search
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to trim whitespace from a string.

Parameters

unnamed
some text with any leading or trailing whitespace removed.

Usage

See the template's testcases:


Parameter: unnamed
Wiki code {{Trim| abc}}

Main version abc
Sandbox version