$temp = substr($line, $i * 1_000, 1000); [download]
In reply to Re: Splitting a long string by akho in thread Splitting a long string by uvnew