string smarty_modifier_strip(
string $text, [string $replace = ' '])
|
|
Smarty strip modifier plugin
Type: modifier
Name: strip
Purpose: Replace all repeated spaces, newlines, tabs with a single space or supplied replacement string.
Example: {$var|strip} {$var|strip:" "} Date: September 25th, 2002
Parameters
string |
$text |
|
string |
$replace |
|