This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

splitbefore Operator

 21st February 2015 at 7:37pm
purposeselect a delimited prefix from each input title
inputa selection of titles
parameterS=a string of characters marking the end of the prefix
outputthe 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 including S.
  • 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.

Examples