ActiveReports 12
StrDup(Int32,Char) Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace > Strings Class > StrDup Method : StrDup(Int32,Char) 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.
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 Char _
) As String
public static string StrDup( 
   int number,
   char 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

Reference

Strings Class
Strings Members
Overload List