返回子串第一次出现的位置。
string.index(search)
search
Int:找不到时返回 -1。
Int
-1
text = 'hello BT' result = text.index(1)