Java.Lang.String.Replace Method
Returns a copy of this string after replacing occurrences of target replaced with replacement.

Syntax

[Android.Runtime.Register("replace", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;", "")]
public string Replace (ICharSequence target, ICharSequence replacement)

Parameters

target
the sequence to replace.
replacement
the replacement sequence.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif target or replacement is null.

Remarks

Returns a copy of this string after replacing occurrences of target replaced with replacement. The string is processed from the beginning to the end.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1