Шаблон:Trim/док
Изглед
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
[уреди]- "{{trim| abc}}
" produces "abc"
Template data
[уреди]The template trims whitespace from a string.
Параметар | Опис | Врста | Статус | |
---|---|---|---|---|
String | 1 | The string to be trimmed of whitespace | текст | обавезно |
See also
[уреди]- {{crop}}
Шаблон:String-handling templates