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

In This Topic
    IsPunctuation(String,Int32) Method
    In This Topic
    Indicates whether the character at the specified position in the specified string is a Punctuation character.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function IsPunctuation( _
       ByVal s As String, _
       ByVal index As Integer _
    ) As Boolean
    public static bool IsPunctuation( 
       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 Punctuation character; otherwise, false.
    See Also