PHP string handler

xiaoxiao2021-03-06  103

String straTr (String Str, String from, String to) String StRTR (String Str, Array Replace_pairs) Finds the content in the STR, replacing the eligible FROM, or replaces where the key names in the array are replaced as keys Value content "jxyuhua" , "% D" => "2004"); Echo StRTR ("% s, i said% d", $ trans); // result is "jxyuhua, i said 2004";?>

转载请注明原文地址:https://www.9cbs.com/read-124015.html

New Post(0)