Tiddlywiki 5.1.20pre and String filters: length, split, join, concat,

69 views
Skip to first unread message

Mohammad

unread,
Feb 8, 2019, 1:30:05 PM2/8/19
to tiddl...@googlegroups.com
Tiddlywiki 5.1.20-pre have some string operators. 
This is a great step for string manipulation directly in Tiddlywiki whitout using extra JS or plugins.

Some of operators are length, split, join, concat,...


Try this in an empty tiddler and see the results

<$set name=mystr value="I am a Tiddlywiki lover.">
<$text text={{{[<mystr>uppercase[]]}}}/><br>
<$text text={{{[<mystr>lowercase[]]}}}/><br>
<$text text={{{[<mystr>length[]]}}}/><br>
<$text text={{{[<mystr>concat[ TW is the best.]]}}}/><br>
<hr>
<$list filter="[<mystr>split[ ]]" variable="word">
<<word>><br>
</$list>
</$set>


Note: These filters are in development phase.

--Mohammad

TonyM

unread,
Feb 9, 2019, 2:29:17 AM2/9/19
to TiddlyWiki
Mohammad,

Thanks for sharing this quick and easy demo.

Regards
Tony

Reply all
Reply to author
Forward
0 new messages