Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Tutorial .NET Remove Blanks filter_list
Author
Message
.NET Remove Blanks #1
Code:
'//Remove Blanks
  Dim i As Long
  i = 0

  '' remove anything that looks like a blank
  While i < ListBox1.Items.Count
    If "" = Trim(ListBox1.Items(i).ToString) Then
    ListBox1.Items.RemoveAt(i)
    Else
    i = 1 + i
    End If
  End While
  '//

Enjoy.

Reply





Messages In This Thread
.NET Remove Blanks - by Goon. - 01-06-2013, 01:41 AM
RE: .NET Remove Blanks - by cxS - 02-25-2013, 07:48 AM



Users browsing this thread: 1 Guest(s)