Involver Developer Network : append
This page last changed on Oct 18, 2011 by jed.wheeler@involver.com.
OverviewThis filter appends a specified string to the variable being filtered. Attributes
ExamplesAppend some characters to a stringGiven the string "foo", to come up with "foobar", you would use the following code: {{ 'foo' | append: 'bar' }} The above code would yield: foobar Complete a sentenceGiven the string, "Mary had a little", if you wanted to indicate that Mary had a little lamb, you would use: {{ 'Mary had a little' | append: ' lamb.' }} The above code would yield: Mary had a little lamb. FAQ
Related Topics
|
![]() |
Document generated by Confluence on Feb 12, 2013 09:09 |