Code: Select all
Filtername = dummy
Search = A:="7-zip" addcol:B B:=SEARCH($param:,$A:)
Macro = dummySearching for:dummy:"-" gives the expected result (2).
Searching for:dummy:- gives the unexpected result 1.
This is a boiled down version of what I am trying to accomplish. dummy:"some text" should also be parsed correctly (eventually).
Is there a way to get this working?
I think I miss formulas like QUOTE(text) and UNQUOTE(text), where the latter removes only the outside quotes.
That way text can always be quoted with quote(unquote(text)).
Or QUOTED(text) that encapsulates text in quotes if not already quoted. Something along thse lines..
AFAICT, preprocessor functions don't help here as they are parsed too early in the process.