Partager via


NumberingSystem.IsValidDigitString(String) Method

Definition

Convenience method to determine if a given digit string is valid for use as a descriptor of a numeric ( non-algorithmic ) numbering system.

[Android.Runtime.Register("isValidDigitString", "(Ljava/lang/String;)Z", "", ApiSince=24)]
public static bool IsValidDigitString (string? str);
[<Android.Runtime.Register("isValidDigitString", "(Ljava/lang/String;)Z", "", ApiSince=24)>]
static member IsValidDigitString : string -> bool

Parameters

str
String

Returns

Attributes

Remarks

Convenience method to determine if a given digit string is valid for use as a descriptor of a numeric ( non-algorithmic ) numbering system. In order for a digit string to be valid, it must contain exactly ten Unicode code points.

Java documentation for android.icu.text.NumberingSystem.isValidDigitString(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