Документација шаблона[прикажи] [уреди] [историја] [освежи]

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 уреди

Ово је TemplateData за овај шаблон, која се користи у TemplateWizard, Визуелном уређивачу и другим алаткама. Погледајте месечни извештај о употреби парамера за овај шаблон у чланцима заснованим на овом TemplateData.

TemplateData за Trim

The template trims whitespace from a string.

Параметри шаблона[Уреди податке о шаблону]

ПараметарОписВрстаСтатус
String1

The string to be trimmed of whitespace

текстобавезно

See also уреди