[TW5] UPDATE: filter plugin tobibeer/split v.0.8.0 — split: before after beforelast afterlast at[1,2]

46 views
Skip to first unread message

Tobias Beer

unread,
Jan 19, 2017, 1:47:35 PM1/19/17
to tiddl...@googlegroups.com
Hi everyone,

Thanks to Mat's request (thanks for testing and bug reporting, Mat),
I added a few new features to tobibeer/split with version 0.8.0, namely...
  • split:before[.] to return input title up until the first match of .
  • split:after[.] to return input title after the first match of .
  • split:beforelast[.] to return input title up until the last match of .
  • split:afterlast[.] return input title after the last match of .
  • added at[<character>,<length>] to emulate substr (starting at 1, though)
  • added !at[<character>,<length>] to cut out what substr would have fetched
  • unit tests for the above
As always, you can get the update from here:


Or install / update via plugin manager with my plugin Library added to your wiki:


Best wishes,

Tobias.
Reply all
Reply to author
Forward
0 new messages