ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / Strings Class / StrDup Method / StrDup(Int32,String) Method
Required. Integer expression. The length to the string to be returned.
Required. Any valid Char, String, or Object expression. Only the first character of the expression will be used. If Character is of type Object, it must contain either a Char or a String value.

In This Topic
    StrDup(Int32,String) Method
    In This Topic
    Returns a string or object consisting of the specified character repeated the specified number of times.
    Syntax
    'Declaration
     
    Public Overloads Shared Function StrDup( _
       ByVal number As Integer, _
       ByVal character As String _
    ) As String
    public static string StrDup( 
       int number,
       string character
    )

    Parameters

    number
    Required. Integer expression. The length to the string to be returned.
    character
    Required. Any valid Char, String, or Object expression. Only the first character of the expression will be used. If Character is of type Object, it must contain either a Char or a String value.

    Return Value

    Returns a string or object consisting of the specified character repeated the specified number of times.
    See Also