Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use propety string.empty?
Message
From
15/04/2004 11:50:06
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00895086
Message ID:
00895172
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform