Want to contribute? Join the Discord and ask for the editor role.
Template:Remove first word
Template page
Revision as of 20:33, 17 March 2020 by RTGame>Alistar Bot (→top: Hygiene, replaced: {{Documentation}} → {{/doc}})
This documentation is transcluded from Template:Remove first word/doc. Changes can be proposed in the talk page.
Template:Remove first word invokes function replace in Module:String using Lua.
Usage
Removes first word of the first parameter. Words are delimited by spaces only. Any of the characters included in {{str index/getchar}}
can be included in the string.
Examples
{{remove first word|<Fôo bår bàz>}}
" → "bår bàz".{{remove first word|< Fôo bår bàz >}}
" → "bår bàz".{{remove first word|< a b >}}
" → "b".{{remove first word|<Fôo-bår>}}
" → "".{{remove first word|<Fôo-bår bàz>}}
" → "bàz".