API - XOOPS 2.5.11 Beta 2
By monxoops.fr
modifier.strip.php File Reference

Namespaces

namespace  Smarty
 

Functions

 smarty_modifier_strip ($text, $replace=' ')
 

Function Documentation

◆ smarty_modifier_strip()

smarty_modifier_strip (   $text,
  $replace = ' ' 
)

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:"&nbsp;"} Date: September 25th, 2002 strip (Smarty online manual) Monte Ohrt <monte at ohrt dot com> 1.0 string string string