1樓:匿名使用者. 可以用split。 比如你先定義一個字串物件:string str="a,b,c,d,e,f,g";. 然後你再定義一個陣列string words=str.split(','); // 這 ...
確定! 回上一頁