我剛開始iOS開發,我試圖做一些操作與串 var str = "Hello, playground"
let newTypeString = NSString(string: str) // here is the error
//this is NSString that i used to create newTypeString NSString(string: String)
這是
因此,我正在閱讀來自twitter bot的最新tweet並將其分配給字符串,但有時會直接向用戶發送推文。這是一個可能看起來像什麼的例子。 NSString tweet = @("@user hey heres my message: BLah blah with symbols!");
//part I want to keep is: " BLah blah with symbols!"