Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6660195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:07:30+00:00 2026-05-26T02:07:30+00:00

I am looking to remove an element from an ArrayList using a query, E.g.

  • 0

I am looking to remove an element from an ArrayList using a query, E.g.
DELETE FROM arraylist WHERE (0) = “User1”
(Where (0) is the index of the second dimension).

Code:

Dim Users As New ArrayList
Users.Add({"User0", "Details"})
Users.Add({"User1", "Details"})
Users.Remove("User1")

The reason I am looking for a query way to do this is because I will not know what the second dimension value will be.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T02:07:30+00:00Added an answer on May 26, 2026 at 2:07 am
    Dim Users As New ArrayList
    Users.Add(new String(){"User0", "Details"})
    Users.Add(new String(){"User1", "Details"})
    Dim userToRemove = Users.Cast(Of String()).Where(Function(i) i(0).Equals("User1")).Single()
    
    Users.Remove(userToRemove)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any fast (and nice looking) way to remove an element from an
I was looking at this question: How to remove duplicate elements from an xml
I'm looking to remove the Facebook API from my iPhone project for 2 reasons:
Looking for an awk (or sed) one-liner to remove lines from the output if
I'm looking for a simplest way to remove duplication in my WPF code. Code
I'm looking for a technique using JQuery to remove an html tag (both opening
I'm looking for a simple Java snippet to remove empty tags from a (any)
I'm looking for a small function that allows me to remove the extension from
How to remove duplicates from a StringCollection in c#? I was looking for a
I want to remove an element from a PHP array (and shrink the array

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.