Stopping loading of XML

Ok, so I have a dynamic text box set up to load some data from an XML file. Is there any way to make it only display up to, say, the first full stop? Flash is putting line breaks from the XML file where they’re supposed to be in the text box, so there must be some way to work with that.

Any ideas?