package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var example:String = "This is<br>a sentence<br>on 3 lines"; trace( example.split( "<br>" ).join( '\n' ) ); } } }