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 <monte at ohrt dot com>
Version: 1.0
Link: strip (Smarty online manual)
Located at xoops_trust_path/libs/smarty/plugins/modifier.strip.php
Author: Monte Ohrt <monte at ohrt dot com>
Version: 1.0
Link: strip (Smarty online manual)
Located at xoops_trust_path/libs/smarty/plugins/modifier.strip.php
string
|
$text |
|
string
|
$replace = ' ' |
string
|