include/Smarty/plugins/modifier.strip.php
Smarty plugin
- Package
- Smarty
- Subpackage
- plugins
Functions
smarty_modifier_strip(
$text, $replace
=
' '
)
:
string
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
Name | Type | Description |
---|---|---|
$text | string |
|
$replace | string |
Type | Description |
---|---|
string |
- Author
- Monte Ohrt
- Link
- (Smarty online manual)
- Version
- 1.0