Jump to content

Recommended Posts

Posted (edited)

Hello,

So I have an array of random usernames(that repeat), that are subject to change at any time, and I need to make a list of all of the users in my array, with out repeating them..

I figured you would use somesort of for loop to go threw the array, any ideas on what to do?

Example:

UserZ

UserM

UserO

UserZ

UserP

UserE

UserO

UserL

UserP

UserU

UserZ

[code=auto:0]

Thanks!

Edited by Kovitt
Posted

What do you mean they are subject to change? When a value gets changed you could check to see if the same thing already exists, then take action based on that.

Regards,Josh

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...