unity get first letter of string code example
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]);
string test = "first second";
print(test.Split(new char[] { ' ' })[0]);
print(test.Split(new char[] { ' ' })[1]);