Why doesn't this FINDREP work

This works:

Rename PATTERN=" " TO="_" FINDREP
@NoDeselect

But this doesn't. Why, good sirs?
I'm simply trying to collapse spaces without replacing them with anything.

Rename PATTERN=" " TO="" FINDREP
@NoDeselect

Thanks

Take your equals signs out so the button is

Rename PATTERN " " TO "" FINDREP 

And it should work. As to why the first button you created works while the second one won't, you'll have to ask Leo or Jon.

so that second equals sign has been wrong all along?
That would explain dozens of screwed-up button attempts!
Thanks

It's a special case when giving an empty string to the TO argument.

Note that because TO is a /O argument you don't even need the empty quotes, e.g.:

Rename PATTERN " " TO FINDREP

Thanks sirs.
Spaces are being collapsed all over the place now.

Wow. Someone else who is spaced out.