Template:Remove first word/doc
< Template:Remove first word
Revision as of 11:57, 21 March 2013 by Unknown user (talk)
Usage
Returns 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}}" → "Template:Str ≥ lenTemplate:Str ≥ lenTemplate:Str ≥ lenTemplate:Str ≥ lenTemplate:Str ≥ lenTemplate:Str ≥ lenTemplate:Str ≥ len".
- "{{remove first word| Fôo bår bàz }}" → "".
- "{{remove first word| a b }}" → "Template:Str ≥ lenTemplate:Str ≥ lenTemplate:Str ≥ len".
- "{{remove first word|Fôo-bår}}" → "Fôo-bår".
- "{{remove first word|Fôo-bår bàz}}" → "Template:Str ≥ lenTemplate:Str ≥ lenTemplate:Str ≥ len".
See also
Description of all string templates