string smarty_modifier_strip(
mixed $text, [mixed $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
Tags: