lastLine

Returns the content of this string after its last line break, or the whole string when it contains no line break.

A string ending with a line break yields an empty last line.