Procedural File: modifier.strip.php

Source Location: /smarty/libs/plugins/modifier.strip.php



Classes:

Page Details:

Smarty plugin





smarty_modifier_strip

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

[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

Tags:

Parameters

  • string $text -
  • string $replace -

[ Top ]


Documentation generated on Tue, 26 May 2009 14:50:36 -0700 by phpDocumentor 1.4.1