Шаблон:Трим/док

Извор: Викизворник

Шаблон:Notice

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 Шаблон:Tlxs, the resulting wikicode is "clean".

Usage[уреди]

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

Example[уреди]

" produces "abc"

Template data[уреди]

Шаблон:TemplateDataHeader

The template trims whitespace from a string.

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

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

The string to be trimmed of whitespace

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

See also[уреди]


Шаблон:String-handling templates