This is the kind of script you can use to to format a string for a straight table.

We have a var holding the string and a var for the string legth. We want to extend the string to a length of 10. We do this using the for loop. When we build our table we replace "o" with white space of course " ".

var myString:String = "EXTEND";
var extnumber:Number = myString.length;
var final:Number = 10;
for (var i = extnumber; i<=final; i++) {
	if (myString.length<final) {
	       myString = myString+"o";
myText.text = myString;