Difference between revisions of "Template:First word/doc"

From blackwiki
Jump to navigation Jump to search
imported>117Avenue
(sl:Predloga:First word)
Line 19: Line 19:
 
[[Category:String manipulation templates]]
 
[[Category:String manipulation templates]]
  
 +
[[sl:Predloga:First word]]
 
</includeonly>
 
</includeonly>

Revision as of 16:15, 22 February 2012

Usage

Returns first word of the first parameter. Words are delimited by spaces only.

Examples

  • {{first word|Foo bar baz}} → Foo
  • {{first word|Foo}} → Foo
  • {{first word|Foo-bar-baz}} → Foo-bar-baz

See also

Template:String templates see also