Searching a cmd

Discuss and share scripts and script files...
Post Reply
MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Searching a cmd

Post 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?
______________________________________________
Happy user ;-)

highend
Posts: 13260
Joined: 06 Feb 2011 00:33

Re: Searching a cmd

Post by highend »

Pattern matching...

# = Wildcard (Digit)...
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

MBaas
Posts: 572
Joined: 15 Feb 2016 21:08

Re: Searching a cmd

Post by MBaas »

Ouch! I wasn't aware of that, indeed. Thanks!
______________________________________________
Happy user ;-)

Post Reply