Template:Trim: Difference between revisions

    From Nonbinary Wiki
    m>Dragons flight
    m>Dragons flight
    No edit summary
    Line 1: Line 1:
    {{#if:1|{{{1|}}}}}
    <includeonly>{{#if:1|{{{1|}}}}}</includeonly><noinclude>
     
    <nowiki>{{str_trim|</nowiki>''text''<nowiki>}}</nowiki> = ''text'' with any leading or trailing whitespace removed.
     
    [[Category:String manipulation templates]]
    </noinclude>

    Revision as of 01:29, 5 March 2009


    {{str_trim|text}} = text with any leading or trailing whitespace removed.