nix_first_newline | R Documentation |
Remove the first instance of a newline from a string
nix_first_newline(s)
s |
(character) A string |
A string with the first instance of a newline removed.
nix_first_newline("onetwo\nthree\nfour") # Nothing to remove nix_first_newline("fivesixseven")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.