您可以使用 indexOf() 和 lastIndexOf() 方法,找出字串內相符的子字串,如下列範例所示: var str:String = "The moon, the stars, the sea, the land"; trace(str.
確定! 回上一頁