Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inherit From Intrinsic Data Types....?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01078380
Message ID:
01078709
Vues:
17
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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform