DecodeSpecialChars Function

Description:

This function returns a character string after converting character entities (as described in RFC 1866) into the raw characters they represent.

eg:

    & is converted to &
    &lt; is converted to <
    &gt; is converted to >

Format:

result = DecodeSpecialChars(input_string)

Parameter:

input_string

A string expression to decode.

Example:

string szDecodedString;

szDecodedString = DecodeSpecialChars("&lt;firstname&amp;name&gt;");
log "encoded string = " + szDecodedString;

Output:

encoded string = <firstname&name>





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap