Filtered Coffee

All flavors welcome.
Forum rules
Be kind.
Post Reply
User avatar
richmond62
Posts: 4830
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Filtered Coffee

Post by richmond62 »

"Over the Road":
-
WhatsApp Image 2025-01-28 at 13.32.09.jpeg
WhatsApp Image 2025-01-28 at 13.32.09.jpeg (25.48 KiB) Viewed 293 times
-
Some person (who should know better by now) posted this question:
I have a .txt file that is a list of items.
I want to put this list into a field on a card when the card is opened and as characters are typed into a search field only items in the .txt file that match are shown.
What I mean is that If the first character I type in is a "P" then only lines beginning with "P" are displayed in the List. Then if I type in an "o" only items beginning with "Po" are displayed.
I know this can be done but I don't know how.
Thanks
I have just "had a go" with this, mainly as is is easy-peasy-pips and should be part of any semi-conscious programmer's arsenal:
-
Screenshot 2025-01-29 at 13.09.09.png
Screenshot 2025-01-29 at 13.09.09.png (150.73 KiB) Viewed 293 times
-
There are probably a good dozen ways to do this: but, as per Sid Vicious: https://youtu.be/rDyb_alTkMQ
Attachments
Filtration.oxtstack
(2.16 KiB) Downloaded 19 times
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3208
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Filtered Coffee

Post by tperry2x »

I use a similar thing in the stack dictionary search field.
I also use a similar idea in the preferences > debug properties (the search box there).
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests