在VB.NET中使用固定长度的String在结构中会出现一些问题,所以建议不要在VB.NET中使用固定长度的String,
The String class does support fixed-length strings. See below.
You should use the Format method on String to create your fixed length
string. For example,
String.Format( "|{0,-20}|", "This is a test")
will produce a left-justified fixed length string of 20 characters (the
minus sign on the 20 indicates left justify) as follows:
http://computer-programming-foru ... 16c901b89d355ae.htm |