Assigning array values and deleting them from array after assigned

I’m working on a trivia game and running into a problem that i don’t know how to solve.
In the game the player must guess what’s on a photo. They get 14 letters, which are all stored in an array (7 letters are the answer of the photo and 7 letters are random generated).

I need to assign all the letters from the array to a random ui.text (or something else). After the letter is assigned is must be delete from the array. That way i can’t be picked and/or assigned again. This has to loop until the array is empty and all the letters are assigned to an ui.text

I’m a bit of a beginner i’m stuck on how to do this.
Can somebody please help me with this problem? :slight_smile: That would be awesome!

Thanks!!

Lists would probably be your best shot since you can add and remove references from it.