withLineEnd | R Documentation |
This function checks if a string ends with a newline character. If not, it adds one.
withLineEnd(x)
x |
A string. |
The input string with a newline character at the end if it was not already present.
cat(withLineEnd("Hello"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.