Template:First Word/doc

From Dungeons and Dragons Wiki
Jump to: navigation, search

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