Thanks everyone for your help.

Ive managed to sort out my problem in the end.

My problem was that if I hard coded 2 arrays, everyones ideas worked
fine, but If I tried to populate one of the arrays by pulling
information from a database, the ideas didnt work. Not sure why that
was, but anyway, Ive worked around it now.

Thanks again. B

On Jun 3, 1:49 am, David Whiterod <[EMAIL PROTECTED]> wrote:
> Hi Baz,
>
> For a third option, you could try the arrayDiff UDF 
> fromhttp://cflib.org/udf.cfm?ID=1572
>
> cheers
>
> David
>
> On Jun 3, 12:46 am, BazD <[EMAIL PROTECTED]> wrote:
>
> > Hi folks
>
> > Im trying to do some stuff to an old farcry 3 custom admin tool that I
> > did a while back.
>
> > Basically, Ive got 2 x 1 dimensional arrays - lets call them
> > "listOne", and "listTwo"
>
> > listOne has about 1000 names inside
> > listTwo has a selection of 200 of those 1000 names
>
> > What Im trying to do is compare the two arrays, and create a 3rd array
> > "listThree" which is basically the result of removing items in listTwo
> > from listOne
>
> > To illustrate:
>
> > listOne = "andy, bob, jim, craig, steven"
> > listTwo = "bob,jim"
>
> > listThree ="andy,craig,steven"
>
> > Any idea on how I can go about doing this ?
>
> > Ive tried looping through and all sorts, but just havnt hacked it yet
> > (its monday,and Im still recovering from weekend celebrations!)
>
> > Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to