https://bobbyhadz.com/blog/javascript-split-string-by-newline
Anonymous
When in doubt, use brute force.