Split string into sentences by max line length.
This uses a character array but doesn’t use word-wrapping.

[code lang=”actionscript”]
var personalMessage:String = “You got this far so we reckon that you could be curious enough to learn a little more, we’ll contact you shortly to answer any questions you may have.”;
_root.myArray = new Array();
_root.myArray = personalMessage.split(“”);
_root.mySentences = new Array();
var currentCharCount:Number = 0;
var currentCharItem:Number = 0;
var currentCharString:String = “”;
var maxLength:Number = 65;

for (var i=0; i<_root.myArray.length; i++ ) { if (currentCharCount= (maxLength-1)) || (i==(_root.myArray.length-1))) {
_root.mySentences.push(currentCharString);
currentCharString = “”;
} else currentCharCount++;
}

trace(_root.mySentences.length);
trace(_root.mySentences[0]);
trace(_root.mySentences[1]);
trace(_root.mySentences[2]);
[/code]

This outputs the following:
[code lang=”c”]
3
You got this far so we reckon that you could be curious enough
to learn a little more, we’ll contact you shortly to answer
any questions you may have.
[/code]