Results 1 to 40 of 47

Thread: [RESOLVED] Delete item(s) from array

Threaded View

  1. #1

    Thread Starter
    PowerPoster Ellis Dee's Avatar
    Join Date
    Mar 2007
    Location
    New England
    Posts
    3,530

    Resolved [RESOLVED] Delete item(s) from array

    This should be super simple, but I'm tired and pressed for time. How do you remove items from an array based on a criteria? For example, if your array is:

    MyArray(0) = "A"
    MyArray(1) = "B"
    MyArray(2) = "C"
    MyArray(3) = "B"
    MyArray(4) = "B"

    Deleting all the B's, you end up wth:

    MyArray(0) = "A"
    MyArray(1) = "C"

    The actual arrays are udts, so I can't use the native Filter() command or anything like it.
    Last edited by Ellis Dee; Dec 3rd, 2008 at 11:17 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width