customizable word spinnder

I am trying to make a spinner that when a button is pressed (i already have that part), a script takes a list of words that the player inputs, and then spins to choose a random one. How would I write a script that chooses words inputted from 5 different text boxes, then chooses one randomly, and displays it?

Maybe it can help you!

Unity Array APi