Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use propety string.empty?
Message
De
15/04/2004 11:50:06
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00895086
Message ID:
00895172
Vues:
18
Dmitry,

>So do I understand you correctly that you could not make string.empty to work as you thought it should?

Well, only from the standpoint of my thinking that a string with spaces in it should compare true to string.empty. Obviously whoever designed that feature doesn't agree with me. <g>

>And thank you for the suggestion to use .Trim and compare with "".

You're welcome!

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform