" __ TFE10FoundationSS9substringfT4fromVVSS13CharacterView5Index_SS",引自:

时间:2017-04-23 15:48:55

标签: swift3.1

当我尝试使用subString函数获取特定文本时,

var str = "http://wikipedia.org"
let index = str.index(str.startIndex, offsetBy: 7)
str.substring(from: index)

xcode版本8.3.2(8E2002)将提示错误:

  "__TFE10FoundationSS9substringfT4fromVVSS13CharacterView5Index_SS", referenced from:

我做错了什么?

0 个答案:

没有答案