Joshua, thank you for working with me on this. I tried it on Tiddlywiki.com
and saw that it worked perfectly. I also quickly tested it in a new file
with just one tiddler with a few words thrown in. It worked again.

This time in my desired file (in the Advanced Search), I got a plain zero.
The only customization on this Tiddler is that I have it set so that a new
tiddler has a custom title of "New Story." Do you think that may have an
affect? I originally created this TiddlyWiki a couple years ago, so I have
no idea offhand where I made that change to see if that is the problem.

On Mon, Oct 5, 2020 at 9:50 PM Joshua Fontany <[email protected]>
wrote:

> In the Filter tab of $:/AdvancedSearch, use only the inner "filter run":
>
> [all[tiddlers]!is[system]get[text]splitregexp[\s+]count[]]
>
>
> (Tested and working on tiddlywiki.com.)
>
> Best,
> Joshua F
>
>
> On Monday, October 5, 2020 at 5:08:56 PM UTC-7 LG wrote:
>
>> 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*
>> {{{
>> 0 <#m_269379016454268287_m_704729030117702504_0>
>> }}}
>> 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 a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/6acL1HS8Zws/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/300ef646-13b5-404e-adeb-d14b8a65604an%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/300ef646-13b5-404e-adeb-d14b8a65604an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAFWQ5Z7zezoTajaUxEjiti7bJMRrcbpbnCWEDBiNBvFC9cNdJw%40mail.gmail.com.

Reply via email to