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

pad Operator

2020년 11월 29일 오후 5:53
purposereturns each item in the list padded to the specified length
inputa selection of titles
suffix(optional). Whether to pad by adding a "suffix" or "prefix". Defaults to "prefix".
parameterthe pad operator accepts 1 or more parameters, see below for details
outputthe input titles padded to the specified length

Learn more about how to use Filters

Introduced in v5.1.23

The pad operator requires at least one parameter which specifies the desired length of the input titles. A second optional parameter can be used to specify the string to pad with (defaults to "0").

[pad[<length>],[<padding-string>]]
  • length : the desired final length of the input titles.
  • padding-string: (optional). The string to use to pad to the desired length. Defaults to "0".

Examples