string.lastWord ("Eat a good lunch!")
» lunch!
Note that the ending punctuation is included with string.lastWord. This example assumes wordChar is a space.
string.lastWord ("Coming-into-being is here.")
» "here."
string.setWordChar ("-");
string.lastWord ("Here comes Coming-into-being.")
» "being."
string.setWordChar ("");
s = "Eat a good lunch!";
string.firstWord (s) + " " + string.lastWord (s)
» "Eat lunch!"