The GetString function returns a string consisting of the repeated number of characters passed in.
|
Syntax | ||||
|
GetString(Number, Char) | ||||
|
Return value | ||||
|
Type |
Description | |||
|
String |
The string consisting of the repeated number of characters. | |||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
Number |
Long |
ByVal |
The number of repeats. |
|
Required |
Char |
String |
ByVal |
The character for building the string. |
Example
Dim Result As String
Result := GetString(10, "F")
Result = "FFFFFFFFFF"