本文共 70 字,大约阅读时间需要 1 分钟。
indexof()可以返回输入的字符串在目标字符串中第一次出现的位置,如果没有出现返回int 0;
转载地址:http://vdpkz.baihongyu.com/