Pascal Scripting: AddPeriod

Prototype:

function AddPeriod(const S: String): String;

Description:

Returns the specified string with a trailing period added, unless the string is empty or already ends in a period or other punctuation mark.