Template:Last-word

From Pittsburgh Streets
The {{last-word}} template returns the last word of a string.

Usage examples

  • {{last-word|Penn Avenue}} → Avenue
  • {{last-word|Pittsburgh}} → Pittsburgh
  • {{last-word}}