unity how to get the first word from string

Code Example - unity how to get the first word from string

                
                        string test = "first second";

print(test.Split(new char[] { ' ' })[0]);
print(test.Split(new char[] { ' ' })[1]);