// 定义一个空数组
var arr1 = [String]()
var arr2 = Array<String>()
var arr3 = []
var arr4:Array<String> = []
var arr5:[String] = []
// 数组相加
var array2 = [Int](count: 5, repeatedValue: 10)
var array3 = [8, 9, 8]
var array4 = array2 + array3
// 数组的一些操作
var array1:Array<String> = ["one", "two", "three"]
array1.count
array1.isEmpty
array1.append("four")
array1 += ["five", "six"]
array1.insert("seven", atIndex:1)
array1.removeAtIndex(1)
array1.removeLast()
// 定义一个空字符串
var string1 = ""
var string2:String = ""
var string3 = String()
var string4:String = String()
for (index, item) in enumerate(array2){
println("(index) -- (item)")
}