Want to contribute? Join the Discord and ask for the editor role.
Template:Remove first word/doc: Difference between revisions
Template page
RTGame>Alistar Bot m (Hygiene) |
m (1 revision imported) |
Latest revision as of 16:52, 2 May 2021
This is a documentation subpage for Template:Remove first word.It contains usage information, categories, and other content that is not part of the original template 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".