I have a jotform returning data which I has a line break at the end, and possibly some other data I can't see.
"Test
"
I am using a switch control, which looks for x equals y
So when I run the flow I don't get True for equals "Test"
(nor do I get True for equals "Test
")
However I do get True for contains "Test"
What can I do to the initial variable to just get the clean text so I can do the equals comparison I need in the switch control?
I have tried using trim() with no success.
Many thanks for any help