ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / Strings Class / Left Method
Required. String expression from which the leftmost characters are returned.
Required. Integer expression. Numeric expression indicating how many characters to return. If 0, a zero-length string ("") is returned. If greater than or equal to the number of characters in str, the entire string is returned.

In This Topic
    Left Method
    In This Topic
    Returns a string containing a specified number of characters from the left side of a string.
    Syntax
    'Declaration
     
    Public Shared Function Left( _
       ByVal str As String, _
       ByVal length As Integer _
    ) As String
    public static string Left( 
       string str,
       int length
    )

    Parameters

    str
    Required. String expression from which the leftmost characters are returned.
    length
    Required. Integer expression. Numeric expression indicating how many characters to return. If 0, a zero-length string ("") is returned. If greater than or equal to the number of characters in str, the entire string is returned.

    Return Value

    Returns a string containing a specified number of characters from the left side of a string.
    See Also