Unity How To Get The First Word From String

[Solved] Unity How To Get The First Word From String | Haskell - Code Explorer | yomemimo.com
Question : unity how to get the first word from string

Answered by : ryan-garrett

string test = "first second";
print(test.Split(new char[] { ' ' })[0]);
print(test.Split(new char[] { ' ' })[1]);

Source : | Last Update : Sun, 22 Nov 20

Answers related to unity how to get the first word from string

Code Explorer Popular Question For Haskell