Inser " in a String

Hey there,

ive got a problem with the String Manipulation. I want to insert " to a string, but KNIME recognizes this as the marker of the words/seperator i want to join. So for example:
joinSep(" " “, “{”,“HelloWorld!”,”}") isnt working cause knime can not understand " as a seperator. Is there any Workaround or smth? I want it to end up like {“HelloWorld!”}. I tried to make up another seperator and replace it with the replace function but ofc… the same problem appeared.

Thanks in advance!

Hi,
You have to use backspace \ as an escape character. Just write “\”" and it will work.
Kind regards
Alexander

5 Likes

Thanks a lot Alexander!

1 Like

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