iT邦幫忙

0

c# 這段程式碼 代表什麼意思呢

c#
匿名 2012-08-10 21:47:123260 瀏覽
  • 分享至 

  • xImage

string sourcel = textBox2.Text;
char[] ch1 = new Char[] { ',', '。', '?' };
string[] split1 = sourcel.Split(ch1);

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

4
pantc328
iT邦高手 1 級 ‧ 2012-08-10 22:12:59

字串切割
遇到ch1 的字元就會切割成子字串
子字串們放在 split1的陣列裡

我要發表回答

立即登入回答