StrDup Function |
Microsoft.VisualBasic.Strings
StrDup( number,character )
The number of times to duplicate the first character in string
The String or Char whose first character is to be duplicated
A String containing the character duplicated the specified number of times
Returns a string that consists of the first character of character duplicated number times
The line:
MsgBox(StrDup(Number:=5, Character:="ABC"))
displays "AAAAA" .
The StrDup function is new to VB.NET. It appears in part to be a replacement for the VB 6 String function.