Is there a way to split a string containing a newline character into a list of strings where the newline character has been retained, eg.
"amount\nexceeds"
would produce
["amount\n", "exceeds"]
Is there a way to split a string containing a newline character into a list of strings where the newline character has been retained, eg.
"amount\nexceeds"
would produce
["amount\n", "exceeds"]