<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE---->
__NOTOC__
__NOTOC__
=== Usage ===
===Usage===
Returns the first word of the first parameter. By default, words are delimited by spaces, but optional parameter sep=/ can set the word separator to slash (or any other character). The parameter should ''not'' have leading spaces, unless the word separator, sep, is set to another character.
Returns the first word of the first parameter. By default, words are delimited by spaces, but optional parameter sep=/ can set the word separator to slash (or any other character). The parameter should ''not'' have leading spaces, unless the word separator, sep, is set to another character.
=== Examples ===
===Examples===
* {{first word|Foo bar baz}} → {{first word|Foo bar baz}}
* {{first word|Foo bar baz}} → {{first word|Foo bar baz}}
* {{first word|Foo}} → {{first word|Foo}}
* {{first word|Foo}} → {{first word|Foo}}
Line 17:
Line 15:
* {{first word|Hear ye, users |sep=, }} → {{first word|Hear ye, users |sep=, }}
* {{first word|Hear ye, users |sep=, }} → {{first word|Hear ye, users |sep=, }}
Returns the first word of the first parameter. By default, words are delimited by spaces, but optional parameter sep=/ can set the word separator to slash (or any other character). The parameter should not have leading spaces, unless the word separator, sep, is set to another character.