Toying around with the Split() function, I stumbled upon a way to extract words from sentences. This method does not require any explicit use (even mention) of an array at all. I imagine the method could be useful in many situations e.g. extracting an entry from a CSV or other delimited text file.
Sub SplitTest()
Dim Sentence As String
Sentence = "Alas, poor Yorick! I knew him, Horatio"
Debug.Print Split(Sentence)(2) & " and " & Split(Sentence)(6)
Debug.Print Split("Extract the third word in this sentence")(2)
End Sub
Output:
Yorick! and Horatio
third
Alan