21st February 2015 at 7:37pm
purpose | select a delimited prefix from each input title |
---|---|
input | a selection of titles |
parameter | S =a string of characters marking the end of the prefix |
output | the prefix, up to and including S , of each input title |
Learn more about how to use Filters
Each input title is processed in turn.
- A title that contains
S
contributes everything up to and includingS
. - A title that doesn't contain
S
simply contributes itself to the output.
Contributions are dominantly appended to the output.
The table-of-contents macros use this operator with /
as the parameter.