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.
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