str

xiaoxiao2025-05-01  9

author:咔咔

wechat:fangkangfk

 

strpos()

str_replace查找 "php" 在字符串中第一次出现的位置

strpos() 函数是区分大小写的

str_replace()  

语法

str_replace(find,replace,string,count)

 

参数描述find必需。规定要查找的值。replace必需。规定替换 find 中的值的值。string必需。规定被搜索的字符串。count可选。一个变量,对替换数进行计数。

 

 

 

转载请注明原文地址: https://www.6miu.com/read-5029548.html

最新回复(0)