字符串组件(separatedBy:<characterset>)Swift4

时间:2017-09-21 12:04:21

标签: ios swift

我对此处https://developer.apple.com/documentation/swift/string

提供的Apple提供的文档有一些疑问

为什么文档不包含components(separatedBy:)方法。相反,在“拆分字符串”部分中,新方法split(separator:maxSplits:omittingEmptySubsequences:由apple添加。

0 个答案:

没有答案