Put words from TextAsset to array.

Hello, I’m new to unity 3D and need little help with this.
I’m trying to make a simple hangman game and I want to load the words from a text file. The script has a TextAsset attached to it but I have troubles putting them into an array or just picking a random out of it. If someone could help me with a example that would be perfect.

,Don’t mind this question I found a solution. I used String.Split() to put them all in an array and then just choose one random out of it.

Don’t mind this question I found a solution. I used String.Split() to put them all in an array and then just choose one random out of it.