이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

removeprefix Operator

2023년 7월 11일 오전 8:28
purposefilter the input titles by how they start, deleting that prefix
inputa selection of titles
suffixthe removeprefix operator uses a rich suffix, see below for details
parameterS=a string of characters
outputthose input titles that start with S, but with those characters discarded

Learn more about how to use Filters

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

Introduced in v5.2.2

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

[removeprefix:<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