smarty_modifiercompiler_strip()
smarty_modifiercompiler_strip(array $params) : 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
Parameters
| array | $params | parameters |
Returns
string —with compiled code