Function smarty_modifier_strip
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
Package: Smarty\plugins
Author: Monte Ohrt
Version: 1.0
Link: strip (Smarty online manual)
Located at lass/smarty/plugins/modifier.strip.php
Author: Monte Ohrt
Version: 1.0
Link: strip (Smarty online manual)
Located at lass/smarty/plugins/modifier.strip.php
string |
$text |
|
string |
$replace = ' ' |
string
|
string |