Template:trim
来自cppreference.com
Handles space characters.
{{space|number}} - outputs number of space characters
{{space as|text}} - outputs as many space characters as there are characters in text. Useful for indentation of templatized code.
{{trim|text}} - trims both leading and trailing whitespace
The above documentation is transcluded from Template:space/doc. (edit | history) Subpages of this template. |