Edit

Share via


NSRegularExpression.ReplaceMatches Method

Definition

Overloads

ReplaceMatches(NSMutableString, NSMatchingOptions, NSRange, NSString)
ReplaceMatches(String, NSMatchingOptions, NSRange, String)

ReplaceMatches(NSMutableString, NSMatchingOptions, NSRange, NSString)

[Foundation.Export("replaceMatchesInString:options:range:withTemplate:")]
public virtual nuint ReplaceMatches (Foundation.NSMutableString mutableString, Foundation.NSMatchingOptions options, Foundation.NSRange range, Foundation.NSString template);
abstract member ReplaceMatches : Foundation.NSMutableString * Foundation.NSMatchingOptions * Foundation.NSRange * Foundation.NSString -> nuint
override this.ReplaceMatches : Foundation.NSMutableString * Foundation.NSMatchingOptions * Foundation.NSRange * Foundation.NSString -> nuint

Parameters

mutableString
NSMutableString
range
NSRange
template
NSString

Returns

System.System.UIntPtr System.unativeint
Attributes

Applies to

ReplaceMatches(String, NSMatchingOptions, NSRange, String)

[Foundation.Export("stringByReplacingMatchesInString:options:range:withTemplate:")]
public virtual string ReplaceMatches (string sourceString, Foundation.NSMatchingOptions options, Foundation.NSRange range, string template);
abstract member ReplaceMatches : string * Foundation.NSMatchingOptions * Foundation.NSRange * string -> string
override this.ReplaceMatches : string * Foundation.NSMatchingOptions * Foundation.NSRange * string -> string

Parameters

sourceString
String
range
NSRange
template
String

Returns

Attributes

Applies to