返回指定片段第一次出现的位置。
string.index_of(needle)
text = 'hello BT' result = text.index_of('BT') // 输出:6 print result