[tw5] Re: String manipulations on textarea input

2021-05-12 Thread Antonis Lamnatos
I've made some progress with this, here's where I'm currently stuck. I'm pasting the text (##header and body) in an *<$edit-text>* widget. This is linked to a different, dedicated Tiddler called *NewEntryData*. Then I'm bringing back only the month bit from the header by using the following.

[tw5] Re: String manipulations on textarea input

2021-05-10 Thread Antonis Lamnatos
Ah yes, thanks for reminding me. Although it was purely for showing how I want to split the date per field. I haven't yet reached the point where I'm trying to reference actual fields. I'm trying to see if some or even most of what I've described can be achieved with <$list filter>-ing through

[tw5] String manipulations on textarea input

2021-05-10 Thread Antonis Lamnatos
I'm moving my personal journal written in markdown files into Tiddlywiki. I'm looking for a way to perform string/text manipulation on the input of an <$edit-text>. Currently, each entry starts with a ##header which was the date the entry was written. A blank line follows and then one or more

[tw5] Re: Simple, one-off number comparison

2021-03-18 Thread Antonis Lamnatos
That worked beautifully, thank you! I also liked the alternative, terser way of doing things. So, thank you for both bits. On Thursday, March 18, 2021 at 1:21:19 PM UTC+2 Eric Shulman wrote: > On Thursday, March 18, 2021 at 2:55:41 AM UTC-7 lamn...@gmail.com wrote: > >> <$set name="bookCount"

[tw5] Simple, one-off number comparison

2021-03-18 Thread Antonis Lamnatos
Hello everyone, first-time poster here :-) I'm trying to output the number of books an Author has written. I want to end up with the following: Author X has no books or Author X has 1 book or Author X has n books After searching around, I thought I'd try the `<$reveal>` widget to compare a