ComponentOne MultiSelect for WinForms
C1.Framework Namespace / CharHelper Class / IsDigit Method / IsDigit(String,Int32) Method
A string.
The character position in s.

In This Topic
    IsDigit(String,Int32) Method
    In This Topic
    Indicates wether the character at the specified position in the specified string is a Numeric digit.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function IsDigit( _
       ByVal s As String, _
       ByVal index As Integer _
    ) As Boolean
    public static bool IsDigit( 
       string s,
       int index
    )

    Parameters

    s
    A string.
    index
    The character position in s.

    Return Value

    true if the character at position index in s is a Numeric digit; otherwise, false.
    See Also