you can also do PadRight/Left(total length of string, character to add);
Dwayne
----- Original Message ----
From: Agus Salim < asalim%40aneka-infokom.co.id">asalimaneka-infokom.co.id>
To: AspNetAnyQuestionIsOk%40yahoogroups.com">AspNetAnyQuestionIsOkyahoogroups.com
Sent: Friday, September 21, 2007 3:15:21 AM
Subject: RE: [AspNetAnyQuestionIsOk] space
Hi Dean,
How to use the String class that you gave to me?
I tried to use it but only add 1 space. Is there
Eg: space(10) then, it will add 10 space character.
Tried to open the link that you gave, but I still don't get it.
Please advice. Thanks
-----Original Message-----
From: AspNetAnyQuestionIs Okyahoogroups. com
[mailto:AspNetAnyQuestionIs Okyahoogroups. com] On Behalf Of Dean Fiala
Sent: 19 September 2007 21:30
To: AspNetAnyQuestionIs Okyahoogroups. com
Subject: Re: [AspNetAnyQuestionI sOk] space
Everything is OOP in .NET...
In this case you want to use the String class, specifically the
constructor
that uses a character to generate a string of a specified length.
Dim SomeSpaceString as String = new String(" "c, 276)
http://msdn2. microsoft. com/en-us/ library/aa331867(vs.71).aspx
[Non-text portions of this message have been removed]