Foundation.NSMutableString.ReplaceOcurrences Method
Replaces the contents of the mutable string matching a pattern with another.

Syntax

[Foundation.Export("replaceOccurrencesOfString:withString:options:range:")]
public virtual nuint ReplaceOcurrences (NSString target, NSString replacement, NSStringCompareOptions options, NSRange range)

Parameters

target
String text to be replaced.
replacement
String to replace the text with.
options
comparison options that determine how the target is matched.
range
Range where the replacement will take place.

Returns

Numbers of replacements done.

Remarks

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0