Template:Trim: Difference between revisions

    From Nonbinary Wiki
    m>Amalthea
    m (Protected Template:Str trim: Highly visible template: Used in {{Adw}} ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
    m>Amalthea
    (moved documentation to subpage)
    Line 1: Line 1:
    <includeonly>{{#if:1|{{{1|}}}}}</includeonly><noinclude>
    <includeonly>{{#if:1|{{{1|}}}}}</includeonly><noinclude>


    <nowiki>{{str_trim|</nowiki>''text''<nowiki>}}</nowiki> = ''text'' with any leading or trailing whitespace removed.
    {{pp-template}}
     
    {{documentation}}
    [[Category:String manipulation templates]]
    </noinclude>
    </noinclude>

    Revision as of 18:56, 2 April 2009


    Template:Pp-template

    Template documentation[create]