Template:Trim/doc

From Gentoo Wiki
Jump to: navigation, 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