Ensure Trailing Newline
Add a final newline if missing.
Appends a newline when the text does not end with one. Unlike Strip Trailing Newlines this adds. Empty fails.
Result: hello
Newline added: 1
Length: 6
Input length: 5
Add a final newline if missing.
Appends a newline when the text does not end with one. Unlike Strip Trailing Newlines this adds. Empty fails.
Result: hello
Newline added: 1
Length: 6
Input length: 5