Text in Flash - only display certain number of chars

You know how when you do a search in a search engine and it returns the results, it will display the page titles followed by the first 70 or so characters from the page? Similarly, some sites/forums will do the same, displaying a certain number of characters from the post, then when you click the link to that post, all of the text will show.

I’d like to do something similar in Flash. I’m using a block of text loaded from an external XML file and was wondering if there’s a way to tell the text box to only show the first 50 characters from that block of text.

Thanks for any help you can give.