Want to contribute? Join the Discord and ask for the editor role.
Template:Remove first word: Difference between revisions
Template page
RTGame>Alistar Bot m (→top: Hygiene, replaced: {{Documentation}} → {{/doc}}) |
m (1 revision imported) |
Latest revision as of 16:51, 2 May 2021
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".