Hi there,
It seems like I am unable to search for the right parenthesis character “)” when using any of Make’s functions.
This happens with all of Make’s functions, but below is a screenshot example of the “replace” function.
I’m trying to replace all the right parentheses “)” with a star “*”, but Make always turns the right parenthesis into a closing function bracket.
I tried to escape the parenthesis by putting a backslash before it, but that didn’t work either.
Any ideas on how to use the “)” character with any of Make’s functions?
Thank you!
Scott
That’s a great trick to workaround this bug! Thank you so much!
2 Likes
p.s. @Michaela Would you mind reporting this bug to the Make development team?
2 Likes
For bugs, directly contacting support can often lead to a faster resolution. They have access to your specific account details, scenario and scenario logs, server-side logs, and internal tools and resources, which allows them to investigate more thoroughly than what you have access to.
You can open a new ticket, or if you are unable to login for some reason, you also can reach support using the contact form on the website.
If you manage to get your issue resolved with support, we’d love to hear about it! Sharing your solution on the forum can help others facing similar problems.
If support says that this is not a bug, you can submit this suggestion to the Idea exchange, under Platform ideas and improvements.
Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.
2 Likes
Hello @ScottWorld
Thank you very much for raising this here and thanks @samliew for immediately jumping in with such a great tip. Also, I apologize for any inconvenience this may have caused before the workaround was shared here.
Sam is absolutely right in suggesting that a ticket is the most effective way to report a bug. Our support team has the tools and access to thoroughly investigate and potentially escalate the matter to the developers. I see that you’re already talking with one of our support agents, which is fantastic news.
Thanks again
1 Like
There is a little known fact that all expressions in Make are actually just text strings.
So if you copy an expression you are having problems with you can always just follow this approach:
- Copy the full expression to the clipboard
- Open Notes/Notepad or any text editor
- Paste the expression in and edit.
- Copy the expression and
- Paste it back into Make.
So this is the expression that does what you want
{{replace("testing ()"; ")"; "*")}}
I added the ) to the first argument and added the ) in the second argument in the text editor and copied it back into the expression editor.
But I agree there are certain characters depending on where you are typing them are rendered automatically that cause the expression to be corrupt.
You can see this also when you are doing math and just type the operator rather than using the build in icons on the Math functions tab.
If you enter 1+1 into a field it will just yield the string 1+1
But if you use the + operator in the Math tab the expression becomes {{1 + 1}}
yielding a 2 in the output.
You can even type the expressions with the open double curly braces and then start typing the expression out and then close with the double curly braces which will get Make to try to parse the expression, but I have found that if you type replace( inside the double curly braces it will parse it unless you put a space between replace and ( [ie replace ( ].
Using the text format of a Make expression is also the best way to share here in the community rather than taking a screen shot – the textual representation of an expression formatted in code (ie expression
in back ticks `) makes it easy for someone to just copy and paste back into their own scenario without having to recreate from scratch causing typos.
2 Likes
Thanks so much. @alex.newpath!
3 Likes