2019-06-13 15:53:23 +00:00
caption: trim
created: 20190613153740241
2020-11-30 17:30:51 +00:00
modified: 20201130141111438
2020-08-29 11:27:58 +00:00
op-purpose: returns each item in the list with whitespace, or a given character string, trimmed from the start and/or end
2019-06-13 15:53:23 +00:00
op-input: a [[selection of titles|Title Selection]]
2020-08-29 11:27:58 +00:00
op-parameter: <<.from-version "5.1.23">> a string of characters
op-parameter-name: S
op-output: the input titles with <<.place S>>, or whitespace if <<.place S>> is not specified, trimmed from the start and/or end
2020-12-03 21:20:23 +00:00
op-suffix: <<.from-version "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
2020-11-30 17:30:51 +00:00
op-suffix-name: T
tags: [[Filter Operators]] [[String Operators]]
2019-06-13 15:53:23 +00:00
title: trim Operator
type: text/vnd.tiddlywiki
<<.from-version "5.1.20">>
2020-08-29 11:27:58 +00:00
<<.from-version "5.1.23">>The <<.op trim>> filter allows a parameter specifying a string to trim.
2019-06-13 15:53:23 +00:00
<<.operator-examples "trim">>