テンプレート:Trim

提供:脳科学辞典
これは、このページの承認済み版です。最新版ではありません。 最新版を閲覧
ナビゲーションに移動 検索に移動
印刷用ページはサポート対象外です。表示エラーが発生する可能性があります。ブラウザーのブックマークを更新し、印刷にはブラウザーの印刷機能を使用してください。


[edit] [purge] Documentation icon Template documentation
モジュール:Message box/ombox.cssページに内容がありません。

This template trims whitespace from a string. The string should be passed as the first unnamed parameter. You may substitute this template - that is, if used as {{subst:trim}}, the resulting wikicode is "clean".

Usage

{{trim|text}} = text with any leading or trailing whitespace removed.

Example

  • {{trim| abc}} produces abc.

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Trim

The template trims whitespace from a string.

テンプレートパラメーター

パラメーター説明状態
String1

The string to be trimmed of whitespace

文字列必須

See also