字符串截取(单个标识符)
string st = "str_ing_123";
string[] st01 = st.Split('_');
Debug.Log("st01[0]=" + st01[0]);//st01[0]=str
Debug.Log("st01[1]=" + st01[1]);//st01[1]=ing
Debug.Log("st01[2]=" + st01
字符串截取(单个标识符)
string st = "str_ing_123";
string[] st01 = st.Split('_');
Debug.Log("st01[0]=" + st01[0]);//st01[0]=str
Debug.Log("st01[1]=" + st01[1]);//st01[1]=ing
Debug.Log("st01[2]=" + st01