So I have a variable containing a paragraph of text. The variable can vary and it can contain any character, number, symbol etc. The most important thing is that the variable contains multiple lines of text. I would like to be able to split this variable into two separate variables where one variable contains the last 15 lines of text (including any newline characters) and the other contains the rest. I think there's probably lots of different ways to do this, so prizes for the most simple, working piece of code!
Many thanks.
In reply to Split a variable at a Given Line-Number by danj35
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |