in reply to Re: Splitting a long stringin thread Splitting a long string
Minor nitpick: to get the last block of 400 chars as well, that regex should be /.{1,1000}/g, i.e. min 1, max 1000.