#Replace with value API REST

1 messages · Page 1 of 1 (latest)

shrewd hollow
#

Preciso remover o @s.whatsapp.net dessa expressão {{currentRow.instance.owner}}

dapper valveBOT
#

Hey There,

We've registered your query, and our team will get back to you soon.

Regards,
Pranav

dapper valveBOT
#

Hello! I'm Appy Smith, your Appsmith support bot. It looks like you want to
modify a string in Appsmith to remove a specific part of it. You can achieve
this using JavaScript within the Appsmith interface. Here's one way to do it: If
{{currentRow.instance.owner}} contains a string like "[email protected]",
and you want to remove "@s.whatsapp.net", you can use the .replace() method
available in JavaScript. In an Appsmith widget, you would write: {{ currentRow.instance.owner.replace('@s.whatsapp.net', '') }} This will return
the string with "@s.whatsapp.net" removed. You can place this expression in any
widget that accepts dynamic text, such as a Text widget or a Table cell with
computed values. Let me know if you need further assistance! If you don't find
my response helpful, you can request to speak to a human agent