function AddPeriod(const S: String): String;
Returns the specified string with a trailing period added, unless the string is empty or already ends in a period or other punctuation mark.