Thanks to you all. It had me beaten how to uppercase the last word of a line, which may be hyphenated as in Smith-Jones. It is not homework but part of my genealogy, where I get Birth, Death, Marriage certificates forwarded electronically, but they are all uppercase text.
Thanks also for the direction and reference material