Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function URLENCODEDFORMAT

Generates a URL-encoded string. For example, it replaces spaces
with %20, and non-alphanumeric characters with equivalent
hexadecimal escape sequences. Passes arbitrary strings within a
URL.

Example

urlencodedformat(string string,[string charset,[boolean force]]):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
string string  Yes   A string or a variable that contains one  
charset string  No utf-8 The character encoding in which the string is encoded.  
force boolean  No true