Is there a way to write a command to delete a given message?

I only need Keaton, is there a way to write commands or set conditions? For example, using a “-” as a mark, delete all text after the “-”.

Hi @Panupol_Sonnuam

You can use a split function like so:

{{ $json[“summary”].split(‘-’)[0] }}

1 Like

Thank you!!
it’s work now

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.