/legacy/smarty/plugins/modifier.strip.php

Description

Smarty plugin

Functions
smarty_modifier_strip (line 26)

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

string smarty_modifier_strip (string $text, [string $replace = ' '])
  • string $text
  • string $replace

Documentation generated on Tue, 09 Aug 2011 09:05:00 +0200 by phpDocumentor 1.4.3