split截取字符串 一、根據單個分隔字符用split截取字符串:string st="GT123_1";split代碼:string[] sArray=st.split("_");結果:即可得到sArray[0]= ...