2014-08-28 13:46:00 +00:00
|
|
|
created: 20140828133830424
|
2015-01-24 21:18:44 +00:00
|
|
|
modified: 20150124173434000
|
|
|
|
tags: [[Filter Operators]] [[String Operators]]
|
|
|
|
title: removesuffix Operator
|
2014-08-28 13:46:00 +00:00
|
|
|
type: text/vnd.tiddlywiki
|
2015-01-24 21:18:44 +00:00
|
|
|
caption: removesuffix
|
|
|
|
purpose: filter the input titles by how they end, deleting that suffix
|
2014-08-28 13:46:00 +00:00
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
<$macrocall $name=".operator-def"
|
|
|
|
input="a [[selection of titles|Title Selection]]"
|
|
|
|
parameter="a string of characters"
|
|
|
|
paramName="s"
|
|
|
|
output="those input titles that end with <<.place s>>, but with those characters discarded"
|
|
|
|
/>
|
2014-08-28 13:46:00 +00:00
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
<<.s-matching-is-case-sensitive>>
|
2014-08-28 13:46:00 +00:00
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
<<.operator-examples "removesuffix">>
|