Encode_URL Function

Description:

This function returns a character string after converting unsafe characters and spaces into escape sequences (e.g. space characters are converted to %20).
The characters converted are: %, <, >, ", #, {, }, |, \, ^, ~, [, ], '
and space
and characters between 0x80 and 0x1F
and character 0x7F.

Format:

result = ENCODE_URL(input_string)

Parameter:

input_string

A string expression to encode.

Example:

string szEncodedString;

szEncodedString = Encode_URL("My name is John");
log "encoded string = " + szEncodedString;

Output:

encoded string = My%20name%20is%20John





Go back to the Learning center:


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