Template:Chop head and tail/doc

Usage
This template removes  characters from the start and  from the end of :



A single parameter may be specified if  = :



Unlinking
This template can be used to "unlink" a linked parameter.


 * results in.

Because the default value of is 2, this can be shortened to.

Limitations

 * Expensive.
 * When used on strings with characters that carry a meaning in wiki-layout, this template will interpret the character as a layout instruction (12974). For example, renders as


 * Supports the character set as defined by Str index/getchar, so that e.g. renders correctly as . However, not all characters are in this set.