dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: [RESOLVED] Removing duplicates in a string array

  1. #1
    Join Date
    Oct 2007
    Posts
    25

    [RESOLVED] Removing duplicates in a string array

    ok
    Last edited by blaze12364; April 1st, 2008 at 07:21 PM.

  2. #2
    Join Date
    Sep 2001
    Location
    Québec, Canada
    Posts
    1,923

    Re: Removing duplicates in a string array

    I'm not sure if I understand correctly your question, but once your array is sorted, you can easily find the duplicates as they will be regrouped. You can then browse the array, output what you need and skip the duplicates.

    JeffB
    CodeGuru VB FAQ Visual Basic Frequently Asked Questions
    VB Code color Tool to color your VB code on CodeGuru
    Before you post Importants informations to know before posting

  3. #3
    Join Date
    Sep 2006
    Location
    Eastern, NC, USA
    Posts
    907

    Re: Removing duplicates in a string array

    Quote Originally Posted by JeffB
    I'm not sure if I understand correctly your question, ...
    I must second that. The question is muddy and the code posted is not helpful in the least. Please read this.

  4. #4
    Join Date
    Oct 2007
    Posts
    25

    Exclamation Re: Removing duplicates in a string array

    kool
    Last edited by blaze12364; April 1st, 2008 at 07:20 PM.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)