C# 中要判斷一個字串是否包含另一個字串,常用的兩種方法是 str.Contains和str. ... 如string s="0123dfdfdf";int i=s.indexof("df");這時i==4。
確定! 回上一頁