?
本文檔使用 PHP中文網(wǎng)手冊(cè) 發(fā)布
Smarty - the compiling PHP template engine | ||
---|---|---|
Prev 來源:PHP中文社區(qū) | Chapter 5. Variable Modifiers[變量調(diào)節(jié)器] | Next |
Parameter Position參數(shù)位置 | Type參數(shù)類型 | Required必需 | Default默認(rèn) | Description |
---|---|---|---|---|
1 | string | Yes | n/a | This is the string of text to be replaced. 將被替換的文本字串 |
2 | string | Yes | n/a | This is the string of text to replace with. 用來替換的文本字串 |
A simple search and replace on a variable.
簡單的搜索和替換字符串
Example 5-16. replace
|
Prev 來源:PHP中文社區(qū) | Home | Next |
regex_replace[正則替換] | Up | spacify[插空] |