Q:

How to subscript an array of strings

I have an array of strings. 
var questions = ["is it green?", "is it square?", "Where can you find it"]

And I need to access it's values. SKLabelNode shows random value of it. And I need to check if it is a right value to give right possible answers. However, if I try this:
if questions[0] {
print("0")
}

It says "cannot subscript a value of type String". I also tried to name every value, like
let first = questions[0]

And so on. How to do it right way? 

A:

let indexOfAnswer = questions.indexOf(randomValue)
print(indexOfAnswer)

