ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / Strings Class / Asc Method / Asc(String) Method
Required. Any valid Char or String expression. If String is a String expression, only the first character of the string is used for input. If String is Nothing or contains no characters, an System.ArgumentException error occurs.

In This Topic
    Asc(String) Method
    In This Topic
    Returns an Integer value representing the character code corresponding to a character.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Asc( _
       ByVal String As String _
    ) As Integer
    public static int Asc( 
       string String
    )

    Parameters

    String
    Required. Any valid Char or String expression. If String is a String expression, only the first character of the string is used for input. If String is Nothing or contains no characters, an System.ArgumentException error occurs.

    Return Value

    Returns an Integer value representing the character code corresponding to a character.
    See Also