Template:Remove first word

From UBC Wiki


Documentation icon Template documentation[view] [edit] [history] [purge]
Lua String-based templates

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".

See also

Script error: The function "navbox" does not exist.