I’m trying to show a subset of fields, those whose names have a given prefix. I can do that fine, but when I try to remove that prefix from the display, I’m running into a wall I keep hitting: a less than full understanding of when and where I can use certain syntaxes.
I’ve tried many syntaxes I know. But obviously not the correct one.
I’m sure this is a simple syntax mistake, but I keep finding these. So first, how do I fix this? Second, is there some shortcut to learning where and when the various syntaxes I’m learning can be applied?
You have to tell the $text widget that you want to evaluate a filter and show the result. The simplest way to do this is to wrap the filter expression in triple braces instead of quotes, like so:
Thank you. I obviously need to keep reading. And rereading, and re-reading until this stuff sinks in.
For some reason, though, Yaisog’s solution didn’t do it for me. I’m pretty sure that was already something I’d tried. Even if not, I just find myself stymied by the simple stuff far too often.