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

trim Operator

30th November 2020 at 2:11pm
Filter Operators String Operators
purposereturns each item in the list with whitespace, or a given character string, trimmed from the start and/or end
inputa selection of titles
suffixT = New in: 5.1.23 prefix to trim from the start only, suffix to trim from the end only. If omitted (default), trim from both start and end
parameterS = New in: 5.1.23 a string of characters
outputthe input titles with S, or whitespace if S is not specified, trimmed from the start and/or end

New in: 5.1.20

New in: 5.1.23The trim filter allows a parameter specifying a string to trim.

Examples