include/Smarty/plugins/modifier.strip.php

Show: inherited
    Table of Contents

    Smarty plugin

    Package
    Smarty  
    Subpackage
    plugins  

    Functions

    functionsmarty_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

    Parameters
    Name Type Description
    $text

    string

    $replace

    string

    Returns
    Type Description
    string
    Details
    Author
    Monte Ohrt  
    Link
    (Smarty online manual)  
    Version
    1.0  
    Documentation was generated by DocBlox 0.18.1.