
Signature
Jay Feldman
JayFeldman@NOSPAMmonmouth.com
One of the String constructor overloads supports this. So, New String ('A',
10) will get you a string with A repeated 10 times.
HTH
In vb6, the String(Number, Character) function would let you generate a
string filled with a certain character.
How can I do this in .NET, since there is no String function and I had
trouble finding this in help?
Thanks a lot!

Signature
Jay Feldman
JayFeldman@NOSPAMmonmouth.com
Jay Feldman - 23 Oct 2004 19:29 GMT
Thanks a lot
> One of the String constructor overloads supports this. So, New String ('A',
> 10) will get you a string with A repeated 10 times.
[quoted text clipped - 8 lines]
>
> Thanks a lot!
Herfried K. Wagner [MVP] - 23 Oct 2004 19:55 GMT
"Shiva" <shiva_sm@online.excite.com> schrieb:
> One of the String constructor overloads supports this. So, New String ('A',
> 10) will get you a string with A repeated 10 times.
Alternatively you can use 'Microsoft.VisualBasic.Strings.StrDup'.

Signature
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/