Cheers Rolf
UPDATE:
for completeness ($pre,$post)=split /((?:\n.*){16}$)/,$txt
In reply to Re^5: Split a variable at a Given Line-Number
by LanX
in thread Split a variable at a Given Line-Number
by danj35
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |