NSString.Replace(NSRange, NSString) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("stringByReplacingCharactersInRange:withString:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSString Replace(Foundation.NSRange range, Foundation.NSString replacement);
[<Foundation.Export("stringByReplacingCharactersInRange:withString:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Replace : Foundation.NSRange * Foundation.NSString -> Foundation.NSString
override this.Replace : Foundation.NSRange * Foundation.NSString -> Foundation.NSString
Parameters
- range
- NSRange
- replacement
- NSString
Returns
- Attributes