Can I fetch keys by prefix and then delete them?

49 Views Asked by At

I can use fwmkeys to iterate over keys that share a prefix -- but how can I modify these keys as I iterate? In my case I only need to be able to delete them or set them to empty, either will work.

1

There are 1 best solutions below

0
singpolyma On

Oh, I see. fwmkeys returns the key strings, so I can then operate directly on them that way.