NSString.Replace(NSRange, NSString) Method

Definition

Returns a new string that substitutes the replacement string into this string, at the specified range.

[Foundation.Export("stringByReplacingCharactersInRange:withString:")]
public virtual Foundation.NSString Replace (Foundation.NSRange range, Foundation.NSString replacement);
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

Applies to