function splitIntoLines(str) {
var strs = new Array();
var space = str.indexOf(' ', 60);
strs[0] = str.substring(0, space);
strs[1] = str.substring(space+1);
if (strs[1].length > 60) {
space = strs[1].indexOf(' ', 60);
strs[2] = strs[1].substring(space+1);
strs[1] = strs[1].substring(0, space);
}
return strs;
}
// I believe that the last two strs[ #'s] should be reversed. Originally it was '1' then '2'.
// Sorry if this has been addressed elsewhere, I didn't see it.
This post has been edited by CanDaMan: 13 February 2013 - 11:23 AM











