在PHP中有一个函数,它接受一个字符串,一个数字(i)和一个字符(x),然后用()替换position(i)处的字符x?
i
x
如果没有,有人可以帮助我实施吗?
php string replace
php ×1
replace ×1
string ×1