NSString.SeparateComponents 方法

定义

重载

SeparateComponents(NSCharacterSet)
SeparateComponents(NSString)

SeparateComponents(NSCharacterSet)

[Foundation.Export("componentsSeparatedByCharactersInSet:")]
public virtual Foundation.NSString[] SeparateComponents (Foundation.NSCharacterSet separator);
abstract member SeparateComponents : Foundation.NSCharacterSet -> Foundation.NSString[]
override this.SeparateComponents : Foundation.NSCharacterSet -> Foundation.NSString[]

参数

separator
NSCharacterSet

返回

属性

适用于

SeparateComponents(NSString)

[Foundation.Export("componentsSeparatedByString:")]
public virtual Foundation.NSString[] SeparateComponents (Foundation.NSString separator);
abstract member SeparateComponents : Foundation.NSString -> Foundation.NSString[]
override this.SeparateComponents : Foundation.NSString -> Foundation.NSString[]

参数

separator
NSString

返回

属性

适用于