1. Convert a string into an array of strings, with each element in the array can take upto 1000 characters.
Eg: Say the string has 1500 characters, then the array should contain 2 elements. 1st element of the array contains the first 1000 characters of the string. 2nd element of the array contains the remaining 500 characters.
2. Also i have convert this array of strings back into a string.