Split a String in Unity Javascript

Hey…

I need to obtain the words in a string:
var questans = new String[10, 10];
questans[0,0]=“Hey How’s it going?”;

var words=questans[0,0].Split(" "[0]);
print (questans[0,0]);
print (words);

I’m getting System.String as the output instead of the words. Please help me out.

It’s correct; Split returns a String array. If you want to print the words then loop through the array and print each element.