Append text to existing strings by using the concatenation assignment += operator:
package{
import flash.display.Sprite;
publicclass Main extends Sprite{
public function Main(){
var attendance:int = 24;
var example:String = "There are ";
example += attendance;
example += " people";
trace(example);
}
}
}