1. string中find()返回值是字母在母串中的位置(下标记录),如果没有找到,返回npos。 2.string的substr(pos=0, count=npos)返回字符串[pos, pos+count)