Hey guys!
I have 2 strings in the msg. (first string msg.hello, second msg.cookie)
The problem I have is msg.hello contains words that I don't want in msg.hello.
msg.cookie contains the words that I want to delete from msg.hello.
Example:
msg.hello = "I love Node Red because";
msg.cookie = "because";
Is there a way to do something like msg.hello - msg.cookie?
msg.hello should look in the end "I love Node Red".
Hope somebody can help me!