package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var sTitle:String = new String("ActionScript Bible"); trace(sTitle.substr(6, 6)); // Displays: Script trace(sTitle.substr(0, 6)); // Displays: Action trace(sTitle.substr(0, 12)); // Displays: ActionScript } } }