Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inherit From Intrinsic Data Types....?
Message
General information
Forum:
ASP.NET
Category:
Class design
Environment versions
Environment:
VB.NET 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01078380
Message ID:
01078709
Views:
16
Why wouldn't you use something to the affect of PadLeft or PadRight or Substring?
string s = "Database"; // You really only allow 4 characters here
Console.WriteLine(s.Substring(4)); // This gives you only first 4
Console.WriteLine(s.PadLeft(10)); // increases the length of your string...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform