I've got a system the player can use to read the dialogue assigned to an object or NPC, but since characters tend to talk a lot, I wanted to write all of the dialogue in one string variable but have it split up by line breaks so that the game could read only the text on one line and then move onto the next line when the player interacts again.
The issue is, there is no expression that can be used to find all the text on one line, and there's also no expression that can be used to find a line break at all, so I'm wondering what the best way to do this is. I really don't want to create several variables corresponding to different lines of dialogue, since there's a good chance that the NPCs will have varying amounts of dialogue.