Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27041

Logic Help with iteration through arrays.

$
0
0
Hey,

I am breaking my head here because this seems very easy but I cant seem to figure it out.

I have an array (100,3)

Which follows something like this

Code:

{Bob},{Glass},{Var}
{Bob},{Water},{Var}
{Cedar},{Steel},{Var}
{Frank},{Wood},{Var}
.....

The names are in alpha order and names can repeat. How would I go about displaying the Names without repetition

So if looking at the example above, the output would be

Code:

Bob - 2
Cedar - 1
Frank - 1

Thanks

Viewing all articles
Browse latest Browse all 27041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>