If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.

 
  • 另外特别重要的是:如果要找的不是字符串,说要把它变成整数,然后当作是这个字符串的序数值。(不能理解!有没有这方面的例子?)
今日热词
目录 附录 查词历史