String.IndexOf(char x) method. 此方法返回字符串中指定字符首次出現的從零開始的索引。如果找不到這樣的字符,則返回-1。 用法: public int IndexOf(char x).
確定! 回上一頁