Template:First Word/doc

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