Find relevant string within string
This question already has an answer here:
Try with strpos
like
echo strpos($searching_string, $actual_string);
But it will consider the string position that starts from 0
.So you need to +1
for the position to get the correct position.
上一篇: 中频工作的PHP条件不正确
下一篇: 在字符串中查找相关字符串