Please enable JavaScript to view this site.

ESL Documentation

ESLWEB Function

Encodes a textual string.

 

URLEncode(URL_SV)

Parameters

URL_SV

A string containing the text to be encoded.

Returns

An ESL string containing the encoded text.

Description

As there a number of special reserved characters that must not be used as part of the URL or Form Data value clauses. For example a "less than" and "greater than" characters (i.e. "<" and ">") are reserved as they are used to identify the start and end of a HTML or XML tag. This function converts all the special reserved characters into a sequence of acceptable characters using the MIME format called "x-www-form-urlencoded".

When used to encode the form data ready to "Post" to the Web Server, each data item must be encoded separately otherwise the field separation characters will be lost.