char.
index
喜欢 find 但提高 ValueError 当找不到子字符串时。
find
调用 str.index 元素的。
整数的输出数组。返回- 1如果 sub 找不到。
参见
str.find