Forum Discussion

brianrandolph's avatar
brianrandolph
New Contributor III
8 years ago

An invalid XML character (Unicode: 0x13) was found in the element content of the document

Any thoughts on how to replace control characters in a string?

I was going for $address2.replaceAll($address2.findCharCode(13),“”) or something like that. Any elegant solutions here? Is it possible to use a regular expression?

1 Reply

  • TheDev's avatar
    TheDev
    New Contributor

    Thank you, I solved it before the reply and I came to say it's done. I didn't know much about APIs and now I understand that I should've gone through the documentation first to understand how I can handle the data. I solved it by adding a query parameter like in the picture.

     

    Also, thank you for suggesting the training workshop. Have a good weekend!