Text replace with an input

Hi. I’m trying to replace the text in an input and then update that text somewhere else to “clean up” a database, but I can’t get “replace()” to work.

My original idea was to extract the information from Notion, set a variable with the replaced text, and then update the database item with that variable, but the output of the text replace is the same as the input, nothing changes.

I tried with plain text, and it works, but nothing on the input is working. (I know there’s a closing parenthesis missing in the img, that’s not it. :sweat_smile:)

Thanks in advance.

1 Like

You should remove the double quotes from your function.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Hi @cchulia

You can try this:
{{replace(1.text; “My contacts”; emptystring)}}
image

Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation

1 Like

Thank you both! That was surpringsingly easy to fix, I had tried without the double quotes, but I was missing the emptystring, trying to use just blank space for it, which was the problem.

1 Like