I’m pretty sure I did the following:
local str = "Hello \n World"
prints(str:split("\n"))
This outputted:
{
[1] = "Hello ", --> Notice the space at the end
[2] = " World" --> Notice the space at the beginning
}
(I think) This let me know that the string wasn’t being split by each line break, but by the actual string phrase “\n”
If I’m incorrect, please let me know. If you do know how to split a string by a line break, that would be great!