PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: UrlDecode()[Next]: ValidateNesting()
\ -> Rexx -> Inbuilt PPWIZARD Functions -> UrlEncode()

UrlEncode()

This is an inbuilt function function provided by PPWIZARD.

This function can be called to convert a string into a valid format for use in a URL. Characters such as '#' are converted to codes as they have special meanings when found within a URL. The new encoded string is returned. This routine should eliminate the need for having to see encoded URLs in your source code.

The parameters are as follows:

  1. Input String
    This is the string which is to be encoded.

  2. Mode

  3. Mode Dependent Parameters
    There may be one or more extra parameters depending on the mode.

Example

#evaluate 'HiddenText'   ^UrlEncode("Password", "EncodeAll")^


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: UrlDecode()[Next]: ValidateNesting()


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Sunday November 05 2017 at 10:00am