I have a codeunit that returns a text, whenever I put quotations in it, it adds backslashes before them in the response and I cannot remove them with DelChr or Text.Replace.
For example, I create a string like so:
myText := '{Name: "test"}';
exit(myText);
The output in postman would look like:
{Name: \"test\"}
Is there a way besides DelChr or Text.Replace to remove these special characters?

Report
All responses (
Answers (