This example calls the IndexOf method on an array of String objects to report the string number and index of the first occurrence of a substring.

  • 此示例对String对象的数组调用IndexOf方法,以报告子字符串的第一个匹配项的字符串编号和索引。
目录 查词历史