小编php*_*per的帖子

如何在PHP中查找字符串中字符的位置

如何在php中查找字符串或句子中字符的位置

$char   = 'i';
$string = 'elvis williams';
$result = '3rd ,7th and 10th'.
Run Code Online (Sandbox Code Playgroud)

我试过strpos ..但没有用..

php strpos

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

php ×1

strpos ×1