Share via


PhoneNumberUtils.StripSeparators(String) Method

Definition

Strips separators from a phone number string.

[Android.Runtime.Register("stripSeparators", "(Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? StripSeparators (string? phoneNumber);
[<Android.Runtime.Register("stripSeparators", "(Ljava/lang/String;)Ljava/lang/String;", "")>]
static member StripSeparators : string -> string

Parameters

phoneNumber
String

phone number to strip.

Returns

phone string stripped of separators.

Attributes

Remarks

Strips separators from a phone number string.

Java documentation for android.telephony.PhoneNumberUtils.stripSeparators(java.lang.String).

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