©
This document uses PHP Chinese website manual Release
Smarty - the compiling PHP template engine | ||
---|---|---|
Prev 来源:PHP中文社区 | Chapter 5. Variable Modifiers[变量调节器] | Next |
This replaces all repeated spaces, newlines and tabs with a single space, or with a supplied string.
用一个空格或一个给定字符替换所有重复空格,换行和制表符.
Note: If you want to strip blocks of template text, use the strip function.
注意:如果想要去除模板文本中的区块,请使用 strip函数
Example 5-19. strip
|
Prev 来源:PHP中文社区 | Home | Next |
string_format[字串格式化] | Up | strip_tags[去除html标签] |