Storm54, Спасибо, помог)
Кому интересно:
Код
void Start () {
char[] delimiterChars = {','};
string text = "1,2,3";
Debug.Log("Original text: " + text);
string[] words = text.Split(delimiterChars);
Debug.Log("{0} values in text:" + words.Length);
Debug.Log(words[0]);
Debug.Log(words[1]);
Debug.Log(words[2]);
}
Где Код
char[] delimiterChars = {','};
- разделители. Тут только 1) {',', ':', ' !', '.'} - пример