ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / Strings Class / GetChar Method
string
character index

In This Topic
    GetChar Method
    In This Topic
    Gets a character by its 1-based index
    Syntax
    'Declaration
     
    Public Shared Function GetChar( _
       ByVal str As String, _
       ByVal Index As Integer _
    ) As Char
    public static char GetChar( 
       string str,
       int Index
    )

    Parameters

    str
    string
    Index
    character index

    Return Value

    a character by its 1-based index
    Exceptions
    ExceptionDescription
    Thrown if str is null. Thrown if Index is out if range.
    See Also