powered by
pystr_splitlines(str, keepends = FALSE)
keepends
TRUE
"\n"
"\r"
"\r\n"
pystr_split
pystr_splitlines("First\nSecond\rThird\r\n") pystr_splitlines("First\nSecond\rThird\r\n", TRUE)
Run the code above in your browser using DataLab