Appends a semicolon to the end of a string, trimming where necessary first.
The string to append a semicolon to.
A string with the semicolon appended.
If the string contains multiple lines.
Appends a semicolon to the end of a string, trimming where necessary first.