Thank you, Eric and Joshua!
I'm not getting a response back out unfortunately. Instead I get a link to
a zero. I copied it into a new Tiddler to see what'd happen and I got zero.
I then put it into the Filter tab of $:/AdvancedSearch and received this
message:
*3 matches*
{{{ <#%7B%7B%7B>
0 <#0>
}}} <#%7D%7D%7D>
On Monday, October 5, 2020 at 6:58:55 PM UTC-4 [email protected] wrote:
> Excellent response, and so close to mine I will let it stand. Good use of
> {{{ ... }}} "transcluded filter" notation.
>
> You could also type that filter into the "Filter" tab of $:/AdvancedSearch.
>
> Best,
> Joshua F
> On Sunday, October 4, 2020 at 7:39:51 PM UTC-7 Eric Shulman wrote:
>
>> On Sunday, October 4, 2020 at 5:58:50 PM UTC-7, LG wrote:
>>>
>>> I copied all of my writing into one TW file. Is there a way to get a
>>> total word count? There are 823 tiddlers.
>>
>>
>> {{{ [all[tiddlers]!is[system]get[text]splitregexp[\s+]count[]] }}}
>>
>> * {{{ [...] }}} encloses an "inline filter" (aka, "filter transclusion")
>> * all[tiddlers] includes regular and system tiddlers
>> * !is[system] eliminates the system tiddlers (those with the $:/ prefix)
>> * get[text] fetches the text content of each tiddler
>> * splitregexp[\s+] splits the text at each sequence of one or more
>> "whitespace" characters, including space, tab, form feed, line feed, and
>> other Unicode spaces.
>> * count[] returns the number of resulting items
>>
>> enjoy,
>> -e
>>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/a8f41121-4a3b-46e5-b0d0-6bd069e8df01n%40googlegroups.com.