Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Decode and encode Web methods

Updated on October 19, 2022

Use the decode and encode Web methods to convert strings of data for use in your automations.

The following table describes the decode and encode methods that are available:

Methods

MethodDescription
HtmlDecodeConverts a string that has been HTML-encoded for HTTP transmission into a decoded string. The override options are a string value and a string with a specified text writer to use for decoding.
HtmlEncodeConverts a string to an HTML-encoded string. The override options are a string value and a string with a specified text writer to use for encoding.
UrlDecodeConverts a string that has been encoded for transmission in a URL into a decoded string.
UrlEncodeConverts a text string into a URL-encoded string.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us