0Day Forums
.NET Remove Blanks - Printable Version

+- 0Day Forums (https://0day.red)
+-- Forum: Coding (https://0day.red/Forum-Coding)
+--- Forum: VB.NET (https://0day.red/Forum-VB-NET)
+--- Thread: .NET Remove Blanks (/Thread-NET-Remove-Blanks)



.NET Remove Blanks - martynpsbi - 01-05-2013

Hidden Content

Enjoy.


RE: .NET Remove Blanks - crossrefer969 - 02-25-2013

This is more what the for loop should be used for instead as it's conditionally based off of an incremented variable. I use a while loop usually if I have to base something majorly off of a condition itself, this is more of an iteration...

And if you are having to remove blanks from items added to a ListBox, that's just wasted time. If you have to do something like this, you then should realize that what you're doing is probably poor.

Prevention is better than having to deal with it after the fact.