学习 Flash Lite 1.x ActionScript |
|
|
|
| Flash 4 ActionScript 基本知识 > 使用文本和字符串 > 连接字符串 | |||
若要在 Flash Lite 中连接字符串,可以使用 add 运算符,如以下示例中所示:
city = "Boston";
team = "Red Sox";
fullName = city add " " add team;
// 结果:
// fullName = "Boston Red Sox"
|
|
|
|