Page 1 of 1

Searching a cmd

Posted: 17 Feb 2021 15:39
by MBaas
Hmm, I thought I had understood formatlist, but somehow I haven't. And it seems I my non-understanding is so deep that I don't even see what I am missing :oops:

Example: I'm trying to get the entry of cmd "#755":

Code: Select all

text formatlist(get("listofcommands",5),tf,<crlf>,"#755<tab>*","");
but the result is empty. What's wrong?

Re: Searching a cmd

Posted: 17 Feb 2021 16:25
by highend
Pattern matching...

# = Wildcard (Digit)...

Re: Searching a cmd

Posted: 17 Feb 2021 16:41
by MBaas
Ouch! I wasn't aware of that, indeed. Thanks!