如何在php中查找字符串或句子中字符的位置
$char = 'i'; $string = 'elvis williams'; $result = '3rd ,7th and 10th'.
我试过strpos ..但没有用..
php strpos
php ×1
strpos ×1