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

removesuffix Operator

11th July 2023 at 8:28am
purposefilter the input titles by how they end, deleting that suffix
inputa selection of titles
suffixthe removesuffix operator uses a rich suffix, see below for details
parameterS=a string of characters
outputthose input titles that end with S, but with those characters discarded

Learn more about how to use Filters

Tip
This filters out input titles that do not end with S. For removing S without filtering out input titles that don't end with S, see trim.

Introduced in v5.2.2

The removesuffix operator uses an extended syntax that permits multiple flags to be passed:

[removesuffix:<flag list>[<parameter>]]
  • flag list: a comma delimited list of flags

The available flags are:

  • casesensitive: (default), this flag forces a case-sensitive match, where upper and lower case letters are considered different
  • caseinsensitive: overrides the default so that upper and lower case letters are considered identical for matching purposes

Examples