Template:First Word

From Dungeons and Dragons Wiki
Revision as of 02:14, 18 January 2010 by ClaytonQuintero (talk | contribs) (Template that returns the first word in a string)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)

This template returns the first word in a string, or the entire string if there is only one word. Words are separated by spaces, and if the string is "Hi, you" the template will return "Hi," instead of "Hi".


Visit Template:First Word/doc to edit this text! (How does this work?)