Jump to content
UBot Underground

For this coding I need some ubotninja advice!


Recommended Posts

I have two lists, List A and List B and I want to create List C.

 

List C is just the unique values of LIST A and LIST B

 

In other words

 

If list A =

 

pete

jane

paul

fred

jamie

 

And list B =

 

pete

jane

aloha

 

Then list C =

 

paul

fred

jamie

aloha

 

what's the best way to do that!!

 

Happy New Year all.

Link to post
Share on other sites

Thats quite Easy!!!! :D

 

add list to list(%A, $list from text("pete
jane
paul
fred
jamie", $new line), "Delete", "Global")
add list to list(%B, $list from text("pete
jane
aloha", $new line), "Delete", "Global")
add list to list(%C, $subtract lists(%A, %, "Delete", "Global")

 

http://content.screencast.com/users/praneybehl/folders/Snagit/media/4a38b324-e43f-4ea8-b937-dfba407fe129/01.04.2012-00.49.11.png

 

Enjoy!!

Praney

  • Like 4
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...