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

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 документација за овај шаблон, коришћена у Визуелном уређивачу и у другим алаткама; погледајте месечни извештај о грешкама за овај шаблон.

TemplateData за Trim

The template trims whitespace from a string.

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

Параметри шаблона

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

The string to be trimmed of whitespace

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

See alsoУреди