String.ReplaceAll(String, String) String.ReplaceAll(String, String) Method

Definition

Replaces all matches for regularExpression within this string with the given replacement.

[Android.Runtime.Register("replaceAll", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")]
public string ReplaceAll (string regex, string replacement);
member this.ReplaceAll : string * string -> string

Parameters

regex
String String
replacement
String String

Returns

Exceptions

if regularExpression == null

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also