{{{ [length{!!caption}] }}}\define length2(str,len)
<$vars reg="^.{$len$}$">
<$set name="result" filter="[title[$str$]regexp<reg>]" value="""$len$""" emptyValue="" >
<<result>>
</$set>
</$vars>
\end
\define length(str)
<$list filter="[range[1,50]]" variable="cnt">
<$macrocall $name="length2" str="""$str$""" len=<<cnt>>/>
</$list>
\end
Length: <<length "How long am I">>
How do I borrow the code from 5.1.20 sounds intriguing?. This could be important for my application.
Thanks
Tony
Looks like you can just drag and drop$:/core/modules/filters/strings.js
from the pre-release into your TW (but don't know how far back the compatibility
extends)
On Thursday, June 6, 2019 at 1:45:11 AM UTC-7, TonyM wrote:Thanks MarkHow do I borrow the code from 5.1.20 sounds intriguing?. This could be important for my application.
Thanks
Tony
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/73c23dc9-b92a-43f2-b817-1c1ccdaf8b1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for the warning. I am only building a specific wiki at this point so I do not expect a Frankenstein to proliferate, however it is to be used in a production environment so I will stay with the stable release and add a maths related plugin. I will document the specific use of maths and review them when 5.1.20 even +1 is available.
With no pressure have we an approximate timeframe for 5.1.20 release?
Regards
Tony