Rather than separate variables, you could also use Keyboard Maestro Variable Array indexes.
See the section in manual:Variables [Keyboard Maestro Wiki] on custom delimiters.
I think @peternlewis may be planning to support the newline character \n
directly as a custom delimiter, but in the meanwhile you can replace all \n
with a character (or string of characters) which are not present in the text itself.