pos函数

取出子串在父串中第一次出现的位置
例如
pos('b','abcd');
返回结果是2

原文地址:https://www.cnblogs.com/echomyecho/p/2409211.html